Record Detail

Compile Error

/in/ex5.c: In function 'main':
/in/ex5.c:7:13: error: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[100]' [-Werror=format=]
     scanf("%s",&str);
            ~^  ~~~~
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Homework 4
Language
C
Submit At
2022-06-25 23:50:15
Judged At
2022-06-29 06:52:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes