Solved

If Two Pointer Variables Point to the Same Memory Location

Question 38

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions