Multiple Choice
Which of the following statements correctly prints out the value that is in the memory address that the pointer p1 is pointing to?
A) cout << &p1;
B) cout << p1;
C) cout << int* p1;
D) cout << *p1;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q1: Which of the following correctly declares a
Q2: Which of the following is not true?<br>A)
Q4: Which of the following assigns to p1
Q5: Declare a pointer variable named ptr to
Q6: Dynamically created variables have no name.
Q7: What is the output of the following
Q8: Even though pointers point to addresses which
Q9: Given that p1 is a pointer variable
Q10: Assuming that the pointer variable p1 is
Q11: In which case would you consider using