Question: this is based on c language. i had taken two images one is code while one contain options. thanks for providng the solution 9- typedef

9- typedef struct node { 10 int data; struct node* next; 12 }Node, *NodePtr; 13 14 // top is front of the list 15 16 - void fun2 (NodePtr *top){ NodePtr ptr = *top; 18 (*top) ->next; 19 free(ptr); 20 } *top Given above structure and function definitions and 'top' being the front of the list, the purpose of fun2 is: to add a new node to back of the list to add a new node to front of the list to delete a node from front of the list to delete a node from back of the list None of these
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
