Solved

Suppose Class Child Is Derived from Class Parent That Was

Question 11

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:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions