Vidyalelo
C++ Programming · Q13

Pointers and References in C++

Programming · C++ Programming · question 13

Q13

What is a dangling pointer in C++?

A.
A pointer that points to a null value
B.
A pointer that points to a deallocated memory
Answer
C.
A pointer that points to a reserved memory location
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board