C++20 sections · 1024 units
Open in CourseQuiz: Multiple Inheritance
Knowledge check
Check Your Understanding
What problem arises when a class inherits from two classes that both inherit from the same base class?
- A.The derived class contains two copies of the shared base
- B.Compilation always fails
- C.Virtual functions stop working
- D.The base class destructor is never called