Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Node* temp = head;
- while (temp->next != NULL) {
- cout << temp->data << endl;
- temp = temp->next;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement