Record Detail

Compile Error

/in/fileReverse.c: In function 'main':
/in/fileReverse.c:15:28: error: format '%s' expects argument of type 'char *', but argument 3 has type 'int' [-Werror=format=]
             fprintf(fout,"%s",line[l-i]);
                           ~^  ~~~~~~~~~
                           %d
cc1: all warnings being treated as errors

Information

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