Record Detail

Compile Error

/in/fileReverse.c: In function 'main':
/in/fileReverse.c:23:41: error: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Werror=sign-conversion]
             thisLine[i] = thisLine[len-1-i];
                                         ^
/in/fileReverse.c:24:27: error: conversion to 'size_t {aka long unsigned int}' from 'int' may change the sign of the result [-Werror=sign-conversion]
             thisLine[len-1-i] = temp;
                           ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 14:54:15
Judged At
2022-07-08 16:04:53
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes