1. Engineering
  2. Computer Science
  3. create a function that deletes the whole list use the...

Question: create a function that deletes the whole list use the...

Question details

Create a function that deletes the whole list.

Use the following incomplete function definition.

void deleteList(Node* &head) { 
    // . . .
}
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution