0 votes
in C Plus Plus by

What is the explanation for the dangling pointer in C?

1 Answer

0 votes
by

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.

Related questions

0 votes
asked Jan 4 in C Plus Plus by GeorgeBell
0 votes
asked Mar 17, 2020 in C Plus Plus by SakshiSharma
...