Record Detail

Compile Error

/in/fileReverse.c: In function 'main':
/in/fileReverse.c:21:15: error: conversion to 'unsigned int' from 'int' may change the sign of the result [-Werror=sign-conversion]
         len = (int)strlen(word);
               ^
/in/fileReverse.c:22:18: error: conversion to 'int' from 'unsigned int' may change the sign of the result [-Werror=sign-conversion]
         for (i = len-1; i >=0; i--){
                  ^~~
cc1: all warnings being treated as errors

Information

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