Record Detail

Compile Error

/in/ex6.c: In function 'findBook':
/in/ex6.c:14:22: error: unused parameter 'head' [-Werror=unused-parameter]
 book *findBook(book *head, int number) {
                      ^~~~
/in/ex6.c:14:32: error: unused parameter 'number' [-Werror=unused-parameter]
 book *findBook(book *head, int number) {
                                ^~~~~~
/in/ex6.c:15: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:44:50
Judged At
2022-07-08 16:05:57
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes