C++ Memory Management Quiz - Question 4

Last Updated :
Discuss
Comments

What is a dangling pointer in C++ ?

A pointer that has not been initialized

A pointer that points to a static variable

A pointer that points to an invalid memory location

A pointer that points to multiple locations

Share your thoughts in the comments