Record Detail

Compile Error

/in/fileReverse.c: In function 'main':
/in/fileReverse.c:7:12: error: too many arguments for format [-Werror=format-extra-args]
     printf("./inDictionary ",argc-1);
            ^~~~~~~~~~~~~~~~~
/in/fileReverse.c:21:11: error: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Werror=conversion]
         l=strlen(a);
           ^~~~~~
/in/fileReverse.c:6:9: error: unused variable 'count' [-Werror=unused-variable]
     int count;
         ^~~~~
/in/fileReverse.c:5:25: error: unused parameter 'argv' [-Werror=unused-parameter]
 int main(int argc,char *argv[]){
                         ^~~~
cc1: all warnings being treated as errors

Information

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