Code:#include <stdio.h> struct Node { int index; struct Node *next_in_line; }; void print_list_in_reverse(struct Node * first_in_list); int main(void) { struct Node n1={12,NULL}; struct Node n2={43,&n1}; struct Node n3={32,&n2}; struct Node n4={24,&n3}; print_list_in_reverse(&n4); return 0; } void print_list_in_reverse(struct Node * p) { if(p == NULL) return; print_list_in_reverse(p->next_in_line); printf("%i\t", p->data); }
I don't get the "print_list_in_reverse" function ..
would anyone explain please?