123456
Node *temp = head->next; while ( temp != NULL ) { delete head; head = temp; temp = temp->next; }