Record Detail

Compile Error

/in/fileReverse.c: In function 'reverse':
/in/fileReverse.c:9:18: error: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Werror=conversion]
     int length = strlen(a);
                  ^~~~~~
/in/fileReverse.c:16:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors

Information

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