Hackerrank
Hackerrank Multi Level Inheritance Solution
Solve the problem Inheritance-Introduction before solving this problem. In the previous problem we learned about Inheritance and how can a derived class object use the member functions of the base class. In this we will see what multi-level inheritance is. Suppose we have a class A which is the base