Chapter 17: Problem 35
Find as many mistakes as you can. NumberList::~NumberList() { ListNode *nodePtr, *nextNode; nodePtr = head; while (nodePtr != nullptr) { nextNode = nodePtr->next; nodePtr->next = nullptr; nodePtr = nextNode; } }
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.