Given the following declarations, how would you know if head is pointing to an empty list?

struct NodeType
{
int number;
NodeType* next;
};

NodeType* head;
//some other code here

a. if(head->next == NULL)
b. if(head == null)
c. if( head == NULL)
d. if( head->next==null);
e. A and D
f. B and C


c. if( head == NULL)

Computer Science & Information Technology

You might also like to view...

Specific controls on a form can be protected by using the Controls command on the Developer tab

Indicate whether the statement is true or false

Computer Science & Information Technology

If there are three classes, shape, circle, and square, what is the most likely relationship among them?

A. The square class is a base class, and shape and circle are derived classes of square. B. The shape class is a base class, and circle and square are derived classes of shape. C. The shape, circle, and square classes are all sibling classes. D. These three classes cannot be related.

Computer Science & Information Technology

Which of the following is the primary key of the ORDER_LINE (ORDER_NUM, PART_NUM, NUM_ORDERED, QUOTED_PRICE) table?

A. ORDER_NUM B. PART_NUM C. QUOTED_PRICE D. ORDER_NUM and PART_NUM

Computer Science & Information Technology

The isChecked method makes use of the ____________________ property of the RadioButton or CheckBox control.

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

Computer Science & Information Technology