Which Class Destructor Will Be Called First When Following Code #193

Which class destructor will be called first, when following code go out of scope?</p> <pre><code class="language-cpp"> class A{ }; class B{ }; class C: public B{ }; A a; B b; C c; </code></pre>

Online Quiz This multiple choice question (MCQ) is related to the book/course gs gs111 OOP Object Oriented Programming Java. It can also be found in gs gs111 Constructors and Destructors - OOPs MCQ: Destructors - Quiz No.2.


Similar question(s) are as followings:



Online Quizzes of gs111 OOP Object Oriented Programming Java

Choose an organization

Theme Customizer

Gaussian Texture



Gradient Background