Record Detail

Compile Error

/in/main.c: In function 'main':
/in/main.c:5:13: error: format '%s' expects argument of type 'char *', but argument 2 has type 'int *' [-Werror=format=]
     scanf("%s",&a);
            ~^  ~~
            %ls
/in/main.c:5:5: error: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Werror=unused-result]
     scanf("%s",&a);
     ^~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Lab 5
Language
C
Submit At
2018-06-26 20:09:03
Judged At
2018-06-26 21:07:56
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes