What is a dangling pointer??
C++
Collapse
X
-
Tags: None
-
A dangling pointer is a pointer that points to invalid data or to data which is not valid anymore.Comment
-
Dangling pointers arise when an object is deleted or deallocated, without modifying the value of the pointer, so that the pointer still points to the memory location of the deallocated memory.Comment
Comment