This situation leads to which of the following:
A. p1 becomes a dangling pointer
B. p2 becomes a dangling pointer
C. Both p1 and p2 are now dangling pointers
D. Neither p1 nor p2 is now a dangling pointer
Answer:B
This situation leads to which of the following:
A. p1 becomes a dangling pointer B. p2 becomes a dangling pointer C. Both p1 and p2 are now dangling pointers D. Neither p1 nor p2 is now a dangling pointer