Which declaration correctly demonstrates multiple inheritance in C++?
Options
- A. class C : public A, public B { };
- B. class C : A : B { };
- C. class C inherits A and B { };
- D. More than one of the above
- E. None of the above
Quiz Practice:
A. class C : public A, public B { };