Capgemini Interview Question

C++ Inheritance, polymorphism.