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; 

A. Stores 50 in the info field of the newNode
B. Creates a new node
C. Places the node at location 50
D. Cannot be determined from this code


Answer: A

Computer Science & Information Technology

You might also like to view...

In a serial interface, what is the difference between a status of down and a status of administratively down?

What will be an ideal response?

Computer Science & Information Technology

The default method used to submit form data is the ____________________ method.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

When you create a new channel using the Channels panel, by default it becomes a(n) ____ channel.

a. transparent b. alpha c. overlay d. color

Computer Science & Information Technology

You can split an Excel worksheet into multiple ____________________ using the Split button in the Window group on the View tab.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology