struct node *func4(struct node *tmp) { while (tmp -> next != NULL) { tmp = tmp -> next; } return(tmp); }