Multiple Choice
Under what conditions a destructor destroys an object?
A) scope of existence has finished
B) object dynamically assigned and it is released using the operator delete.
C) program terminated.
D) both a and b.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: Variables declared in the body of a
Q6: For the object for which it was
Q7: What is the difference between struct and
Q8: Every class has at least one constructor
Q9: Which one of the following is not
Q11: When class B is inherited from class
Q12: A function argument is<br>A)a variable in the
Q13: A function's single most important role is
Q14: What is a constructor?<br>A)a class automatically called
Q15: In a class definition, data or functions