Multiple Choice
Assuming ptr is a pointer variable, what will the following statement output? cout << *ptr;
A) the value stored in the variable whose address is contained in ptr.
B) the string "*ptr".
C) the address of the variable stored in ptr.
D) the address of the variable whose address is stored in ptr.
E) None of these.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Not all arithmetic operations may be performed
Q15: A function may return a pointer but
Q19: C++ does not perform array bounds checking,
Q23: A pointer variable is designed to store
Q32: The statement cin >> *num3;<br>A) stores the
Q37: These can be used as pointers.<br>A) Array
Q38: The _, also known as the address
Q38: When you pass a pointer as an
Q39: When using the new operator with an
Q43: The ampersand (&) is used to dereference