Question OOP-INH-0050
MediumIn C++, class B : public A and class C : public A, then class D : public B, public C. How many copies of A's members does a D object have?
- A.
Two, unless B and C use virtual inheritance
- B.
One always
- C.
Sign up free to see the answer and a step-by-step explanation.