What is the purpose of virtual inheritance in C++?
Options
- A. To prevent all inheritance
- B. To help avoid duplicate base-class subobjects in a diamond inheritance structure
- C. To make every member function virtual automatically
- D. More than one of the above
- E. None of the above