If a pointer to an object is created and the object gets deleted without using the pointer then __________

If a pointer to an object is created and the object gets deleted without using the pointer then __________ Correct Answer 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.
Bissoy MCQ

Related Questions

The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is ____________
The correct statement for a function that takes pointer to a float, a pointer to a pointer to a char and returns a pointer to a pointer to a integer is