Chapter 13 quiz solution
3. Which of the following gives the memory address of a variable pointed to by pointer p_a?
A. p_a;
B. *p_a;
C. &p_a;
D. address( p_a
In the quiz solution, option C is listed as the correct answer but the correct answer should be A. p_a gives the memory address of the variable pointed to by pointer p_a whereas &p_a gives the memory address of the pointer p_a.