Multilevel Inheritance

tutorial and example
tutorial and example

C++ Multilevel Inheritance

Multilevel inheritance is such inheritance in which a derive class is created from another derived class.

C++ Multilevel Inheritance Example

In this example a base class Student is inherited in a derive class Marks and the derived class Marks is further inherited in another derive class Total.

Output: