1
Reply

What is a dangling pointer?

Manu

Manu

Jul 13, 2006
6.9k
0

    A dangling pointer arises when you use the address of an object after its lifetime is over.This may occur in situations like returning addresses of the automatic variables from a function or using the address of the memory block after it is freed..

    Manu
    July 13, 2006
    0