C++ | Inheritance | Question 2
Base1's destructor Base2's destructor Derived's destructor
Derived's destructor Base2's destructor Base1's destructor
(D) Compiler Dependent
Explanation: Destructors are always called in reverse order of constructors.
Quiz of this Question
Want to learn from the best curated videos and practice problems, check out the C Foundation Course for Basic to Advanced C.
My Personal Notes arrow_drop_up