adplus-dvertising
frame-decoration

Question

If pointer to an object is created and the object gets deleted without using the pointer:

a.

It becomes void pointer

b.

It becomes dangling pointer

c.

It becomes null pointer

d.

It becomes zero pointer

Answer: (b).It becomes dangling pointer

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If pointer to an object is created and the object gets deleted without using the pointer: