Quiz on C++ Multilevel Inheritance