Which of the following C++ code snippets correctly creates a new node in a singly linked list?
node* newNode = new node();
new node* newNode = new node();
Overlook minor misbehaviors
Impose harsh punishments for any infraction

Data Structures and Algorithms Exercises are loading ...