Question: What does the following function do for a given Linked List with first node as head? void fun 1 ( struct node * head )

What does the following function do for a given Linked List with first node as head? void fun1(struct node* head){ if(head == NULL) return; fun1(head->next); printf("%d ", head->data); }What does the following function do for a given Linked List with first node as head? void fun1(struct node* head){if(head == NULL)return;Fun1(head->next); printf("%d ", head->data);}

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 Programming Questions!