Question: C program Write a function: struct student *findStudent(const char name[], struct student *head) which returns a pointer to the element in the linked list starting
C program
Write a function: struct student *findStudent(const char name[], struct student *head) which returns a pointer to the element in the linked list starting at head with name equal to name. If no such element exists, the function must return the NULL pointer. Hint: to compare two strings, use the function strcmp(), in (http://www.cplusplus.com/reference/cstring/strcmp/)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
