employer cover photo

Sanjay A Shah & Associates

Is this your company?

Sanjay A Shah & Associates interview question

what are dangling pointers

Interview Answer

Anonymous

16 Oct 2019

Dangling pointers arise during object destruction, when an object that has an incoming reference 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.