1. Engineering
  2. Computer Science
  3. create a function that creates a copy of a list...

Question: create a function that creates a copy of a list...

Question details

Create a function that creates a copy of a list. The function will return the pointer to the new list.

Use the following incomplete function definition.

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