Which answer is more correct? (C++)
I got the following C++ question: //----- In case of inheritance where both base and derived class are having constructors, when an object of derived class is created... 1. constructor of derived class will be invoked first. 2. constructor of base class will be invoked first. 3. constructor of derived class will be executed first followed by base class. 4. constructor of base class will be executed first followed by derived class. //----- I chose the 2nd answer, as the word "first" implies that there will be another invocatios and the execution of derived class constructor may not immediately follow after execution of base class constructor. My answer was not accepted as correct. The correct answer is #4. Which answer is more correct (#2 or #4)?