Question: What is the result of the following function to start pointing to the first node of follow linked list? A. 1 4 6 6 4
What is the result of the following function to start pointing to the first node of follow linked list?

A. 1 4 6 6 4 1 B. 1 3 5 1 3 5 C. 1 2 3 5 D. 1 3 5 5 3 1
1->2->3->4->5->6 void fun (struct node* start) { } if (start = NULL) return; printf("%d ", start->data); if (start->next != NULL ) fun (start->next->next); printf ("%d ", start->data);
Step by Step Solution
3.44 Rating (160 Votes )
There are 3 Steps involved in it
D Explanation In above example recursive function call is used 1 First print f is writt... View full answer
Get step-by-step solutions from verified subject matter experts
