Compile Error
/in/fileReverse.c: In function 'main': /in/fileReverse.c:13:15: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion] char ch = fgetc(fp); ^~~~~ /in/fileReverse.c:24:15: error: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Werror=conversion] len = strlen(temp); ^~~~~~ /in/fileReverse.c:30:14: error: conversion to 'char' from 'int' may alter its value [-Werror=conversion] ch = fgetc(fp); ^~~~~ cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Midterm Exam 2
- Language
- C
- Submit At
- 2022-07-07 15:36:03
- Judged At
- 2022-07-08 16:05:17
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes