Multiple Choice
Suppose class Child is derived from class Parent that was in turn derived from class GrandParent.When we destroy an object of class Child,three destructors are called: i) Child,ii) Parent,iii ) GrandParent..What is the order?
A) Child,Parent,GrandParent
B) Parent,GrandParent,Child
C) GrandParent,Child,Parent
D) GrandParent,Parent,Child
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q6: If class D is derived from class
Q7: We can assign a base class object
Q8: Given the class below,tell to what value
Q9: Constructors are inherited.After all something has to
Q10: When a derived class inherits from a
Q12: If a base class constructor is not
Q13: If a class B is a pubic
Q14: Suppose class Child is derived from class
Q15: If B is a base class of
Q16: If B is a base class of