Create a function that prints all of the elements in the list.
Use the following incomplete function definition.
void printList(Node* &head) { // . . . }
Improve this page