Question: This is a function that needs to be made in C programming. Please follow the requirements down below!!!!! Create the findMovie () function. It returns
This is a function that needs to be made in C programming. Please follow the requirements down below!!!!!
- Create the findMovie() function. It returns NULL if a movie is not found or it returns a pointer to the node containing a movie, if both the title and genre are matched (with a case-sensitive match, so you can use strcmp for this). It takes three parameters:
- MovieNode *head: head of list
- char *genre: pointer to null-terminated string containing genre
- char *title: pointer to null-terminated string containing title
-
- If only the genre or the title are found but both are not found in the same node, the movie is not found.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
