void fun1(struct node* head) { if(head == NULL) return; fun1(head->next); printf("%d ", head->data); }
Anonymous
fun1() prints the given Linked List in reverse manner. For Linked List 1->2->3->4->5, fun1() prints 5->4->3->2->1.
Check out your Company Bowl for anonymous work chats.