Q:

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

0

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


  1. It becomes void pointer
  2. It becomes dangling pointer
  3. It becomes null pointer
  4. It becomes zero pointer

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

 (b).It becomes dangling pointer

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

OBJECT ORIENTED PROGRAMMING - OBJECTS AND POINTERS MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
How can the address stored in the pointer be retri... >>
<< Which is the correct syntax to call a member funct...