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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!