Examveda

What is the order of Destructors call when the object of derived class B is declared, provided class B is derived from class A?

A. Destructor of A followed by B

B. Destructor of B followed by A

C. Destructor of A only

D. Destructor of B only

Answer: Option B


Join The Discussion

Related Questions on Inheritance in C plus plus