What is a dangling …
 
Notifications
Clear all

What is a dangling pointer ?

2 Posts
3 Users
1 Likes
291 Views
0
Topic starter

🤔 is it hanging or swinging ?

 
2 Answers
1

A pointer pointing to a memory location that has been deleted (or freed) is called dangling pointer.

0

Dangling pointers and wild pointers in computer programming are pointers that do not point to a valid object of the appropriate type. These are special cases of memory safety violations. More generally, dangling references and wild references are references that do not resolve to a valid destination.

 

Share: