Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct list {
- item_type item;
- struct list *next;
- } list, *list_p;
- void print_list(list_p l)
- {
- if (l != NULL) {
- printf("%d-", l->item);
- print_list(l->next);
- }
- return;
- }
- /bin/bash: line 1: 8837 Segmentation fault: 11 ./a.out
Add Comment
Please, Sign In to add comment