SINGLE LEVEL INHERITANCE BY USING CONSTRUCTOR AND DESTRUCTOR
/*PROGRAM TO IMPLEMENT SINGLE LEVEL INHERITANCE BY USING CONSTRUCTOR AND DESTRUCTOR IN BOTH CLASSES*/ #include<conio.h> #include<iostream.h> #include<stdio.h> class base { char name[10]; int roll_no; public: base() { cout<<“Enter name: “; …