in Technology by (1.8m points)

What is the explanation for the dangling pointer in C?

1 Answer

0 votes
by (1.8m points)

When there is a pointer pointing to a memory address of any variable, but after some time the variable was deleted from the memory location while keeping the pointer pointing to that location is known as a dangling pointer in C.

Related questions

0 votes
asked Nov 8, 2020 in Technology by JackTerrance (1.8m points)