Question: Number6. What is the problem with the code, and how could you fix the bug by changing only one line ? 6. What is wrong
6. What is wrong with the following search program for finding the node on list L containing the airport code A and returning a pointer to it? I NodeType "FindNode(char "A, NodeType L) while ( (strcmp(L->Airport,A) != 0) && (LI= NULL)) { L L->Link return L; How could you fix the bug in the program above by changing only one line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
