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

Number6. What is the problem with the code, and how could you fix the bug by changing only one line ?  Number6. What is the problem with the code, and how could

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

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!