Multiple Choice
What does the following statement do? double *num2;
A) Declares a double variable named num2.
B) Declares and initializes an pointer variable named num2.
C) Initializes a variable named *num2.
D) Declares a pointer variable named num2.
E) None of these
Correct Answer:

Verified
Correct Answer:
Verified
Q5: Look at the following statement: <br><img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"
Q14: Dynamic memory allocation occurs<br>A) when a new
Q15: Look at the following code: <img src="https://d2lvgg3v3hfg70.cloudfront.net/TB2965/.jpg"
Q19: What will the following statement output? cout
Q20: The statement int *ptr;<br>Has the same meaning
Q24: A pointer variable may be initialized with<br>A)
Q26: What will the following code output? int
Q28: When the less than ( < )operator
Q37: It is legal to subtract a pointer
Q39: If a variable uses more than one