Latest notices:
NEC licence exam preparation, made clearer.Practice questions, syllabus guides, and timed mocks for Nepal engineers.New study resources are added regularly.
NEC Computer · 2081 · Question 54

What is the output when a derived C++ class inherits from base1 and base2 in that order, and each constructor prints its class name?

Kartik Merged Set Part 2

ABase 1Base 2Derived
BBase 2Base 1Derived
CDerivedBase 1Base 2
DBase 1DerivedBase 2
Checking answer access…