Learn basic concept of c , c++ and python programming in regularcodes.com
Single inheritance in c++
single inheritance: derived class is allow to access the property of base class.
Syntax of single inheritance
Some time called, A is parent class and B is base class.
Simple example of single inheritance.
Another program for single ingeritance.