* Lets start learning about cpp inheritance.
* Following example is simple inheritance : Single Inheritance consist of one base class and one derived class.
//Written by Latest Technology Guide
//Title : OOCP (CPP) : Example # 15 : CPP Inheritance Parameterised constructor
int B :: i =0;
void B :: printinfo()
class D : public B
OOCP (CPP) : Example # 15 : CPP Inheritance Parameterised constructor
* Example demonstrate how to create your first inheritance program using cpp example 2.
Note: All programs are developed and tested using Turbo C++ 3.0 under Windows XP. We just want to provide guidelines to the users. If you are using any other Compiler or other operating system they you need to modify this program as per your requirements.