Consider the following class definition with inheritance: class A : public B, virtual public C { }; The order of execution of constructors will be:
- A ( ), B ( ), C ( )
- C ( ), B ( ), A ( )
- B ( ), C ( ), A ( )
- A ( ), C ( ), B ( )
Answer:
Option c: B ( ), C ( ), A ( )
Explanation Here
0 Comments