Multiple Choice
If two pointer variables point to the same memory location, what happens when one of the pointers is freed?
A) The other pointer should be considered to be un-initialized
B) The other pointer still points to a valid memory address
C) If you attempt to free the other pointer a run-time error will occur.
D) All of the above
E) A and C
Correct Answer:

Verified
Correct Answer:
Verified
Q29: If p1 and p2 are both pointers
Q30: In the statement cout << *p1;, the
Q31: Given that p1 is a pointer, p1++<br>A)
Q32: Given that p1 is an integer pointer
Q33: The & operator is called the _
Q34: What is wrong with the following code
Q35: What is the output of the following
Q36: int *p1; declares a static variable.
Q37: Dynamic variables are created from the _.
Q39: Which of the following correctly declares a