ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
If a pointer to an object is created and the object gets deleted without using the pointer then __________
Correct Answer: B — It becomes dangling pointer
When the address pointed by the object pointer gets deleted, the pointer now points to an invalid address. Hence it becomes a dangling pointer. It can’t be null or void pointer since it doesn’t point to any specific location.