Compile Error
/in/ex1.c: In function 'main': /in/ex1.c:8:20: error: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[50]' [-Werror=format=] while (scanf("%s",&str[cnt])!= EOF){ ~^ ~~~~~~~~~ cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Mid2 Sample Exam
- Language
- C
- Submit At
- 2020-07-12 21:59:21
- Judged At
- 2020-07-15 20:58:28
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes