Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 #include "prog9.h"
- 2
- 3 void print_list(PERSON *person_ptr)
- 4 {
- 5 while(person_ptr != NULL)
- 6 {
- 7 printf("Name = %s\n", person_ptr->name);
- 8 printf("Age = %i\n\n", person_ptr->age);
- 9
- 10 person_ptr = person_ptr->next_ptr;
- 11 }
- 12 }
Add Comment
Please, Sign In to add comment