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
Take a step-up from those “Hello World” programs. Learn to implement data structures like Heap, Stacks, Linked List and many more! Check out our Data Structures in C course to start learning today.
My Personal Notes arrow_drop_up