dangling pointer
A dangling pointer is a pointer that points to memory which has been freed or deleted.That means — the memory no longer exists or is invalid, but the pointer still holds its old address.
⚙️ How it happens:
There are 3 common cases where dangling poi...
yesamitsingh.hashnode.dev2 min read