Record Detail

Compile Error

/in/fileReverse.c: In function 'main':
/in/fileReverse.c:14:32: error: comparison between pointer and integer [-Werror]
         while (original[chars] != "\n"){
                                ^~
/in/fileReverse.c:14:32: error: comparison with string literal results in unspecified behavior [-Werror=address]
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:24:32
Judged At
2022-07-08 16:05:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes