What is Inheritance in C++ :
-Inheritance is a process in which one object acquires all the properties and behaviors of its parent object automatically. In such way, you can reuse, extend or modify the attributes and behaviors which are defined in other class.
Type of Inheritance in C++:
-When child class inherite the property from multiple class then it is called Multiple Inheritance.
class child:public one,public two, public three