Guest User

Untitled

a guest
Aug 19th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. Deleting links in a doubly linked list
  2. Node* current = head;
  3. while( current != NULL ) {
  4. Node* next = current->Next;
  5. free( current );
  6. current = next;
  7. }
Add Comment
Please, Sign In to add comment