Record Detail

Compile Error

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

Information

Submit By
Type
Submission
Homework
Mid2 Sample Exam
Language
C
Submit At
2020-07-12 23:31:04
Judged At
2020-07-15 20:58:28
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes