Question: undefined Given the following C code: void funx (struct Node *n) { if(n==NULL) return; printf(%d , n->data); funx (n->next); } What is the aim of

undefined Given the following C code: void funx (struct Node *n) {undefined

Given the following C code: void funx (struct Node *n) { if(n==NULL) return; printf("%d ", n->data); funx (n->next); } What is the aim of this code for function call funX(head) where head is a pointer that points to the head of linked list? a) Print the contents of linked list b) Print the contents of linked list in reverse order c) Print even nodes of linked list d) Print even nodes of linked list in reverse order

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!