Frage im Vorstellungsgespräch bei Tata Consultancy Services

Question from advance c++ program, multiple inheritance.