In this tutorial, we will learn about the inheritance in C++, its important and use with detailed example. Definition:Acquiring the properties of parent class to sub class objects is called Inheritance” Concept of Inheritance Base Classes and Derived Classes In above diagram,  Car is Base class where as  pickup truck and truck class is dervied