Question: Two pointer variables point to the same address in memory. One of the pointer variables ges deleted. What happens to the other variable? Group of

Two pointer variables point to the same address in memory. One of the pointer variables ges deleted. What happens to the other variable?
Group of answer choices
The other pointer should be considered to be un-initialized.
The other pointer still holds a valid memory address.
If you attempt to free the other pointer, a run-time error will occur.
Both (a) and (c) are true.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!