If we want to inherit data members and member functions of the base class which is already inherited from another class, the concept of multilevel inheritance comes in. This contains a more hierarchical approach.
class parent
class child : public parent
class grandChild : public child
Example
Let’s take the example of Vehicle class which acts as a parent to Car class. Now Car ...