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...
How do you quickly select a sentence?
A) Double-click anywhere in the sentence B) Hold down Ctrl and click in the sentence C) Hold down Shift and click in the sentence D) Triple-click anywhere in the sentence
Computer Science & Information Technology
A text box's ____ event occurs whenever a change is made to the contents of the text box.
A. TextModified B. TextChanged C. CheckedChanged D. ChangedText
Computer Science & Information Technology