Explain a dangling pointer?

Submitted by: Administrator
Those pointers which pointing to a memory block which is no more exist in the memory. for example Suppose two pointers are pointing to the same memory location and memory is freed using firstpointer variable but second pointer is still pointing to the same memory location. the second pointer is a dangling pointer.
Submitted by: Administrator

Read Online ILU Job Interview Questions And Answers