1.

How is a NULL pointer different from a Dangling pointer?

Answer»
S.noNULL POINTERDangling pointer
1.Indicates the pointer isn't pointing to a valid locationDoes not POINT to a correct place
2.Happens when memory pointed by it is deallocatedOccurs when an object is removed or DELETED


Discussion

No Comment Found