Answers

Question and Answer:

  Home  ILU

⟩ Explain a dangling pointer?

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.

 210 views

More Questions for you: