Record Detail

Compile Error

/in/ex6.c: In function 'removeBook':
/in/ex6.c:20:24: error: unused parameter 'head' [-Werror=unused-parameter]
 book *removeBook(book *head, int number){
                        ^~~~
/in/ex6.c:20:34: error: unused parameter 'number' [-Werror=unused-parameter]
 book *removeBook(book *head, int number){
                                  ^~~~~~
/in/ex6.c:22:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:24:54
Judged At
2022-07-08 16:04:30
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes