Question: struct nodeType { int info; nodeType * link; } ; nodeType * head , * p , * q , * newNode; newNode = new

struct nodeType
{
int info;
nodeType *link;
};
nodeType *head,*p,*q,*newNode;
newNode = new nodeType;
Consider the accompanying code. What is the effect of the following statement?
newNode info =50
Stores 50 in the info field of the newNode
Creates a new node
Places the node at location 50
Cannot be determined from this code
struct nodeType { int info; nodeType * link; } ;

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!