This is a function for displaying a list. Oh I just love recursion.
void print_list(LINK head){ if (head == NULL) printf("NULL"); else { printf("%c --> ", head -> d; print_list(head -> next); }}
Post a Comment
No comments:
Post a Comment