Multiple Choice
The code segment int *ptr; has the same meaning as
A) int ptr;.
B) *int ptr;.
C) int ptr*;.
D) int* ptr;.
E) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: An array name is a pointer constant
Q16: A statement that displays the address of
Q17: The expression *s->p; is only meaningful if
Q18: A pointer variable may be initialized with<br>A)
Q19: Which of the following statements correctly deletes
Q19: Which of the following statements correctly deletes
Q22: The statement cin >> *p;<br>A) stores the
Q23: The statement shared_ptr<int> p(new int); involves<br>A) a
Q24: The expression s->m is meaningful only when
Q25: A temporary value in a program can