This is a sample program using Hybrid Inheritance. Using Hybrid Inheritance, this program display mark details of a student. #include <iostream.h> #include <conio.h> class student { private: int rollno; char name [20]; public: void read ( ) { cout << "\n Enter The Roll Number & Name: "; cin >> rollno >> name; } void show ( ) { cout << "\n Roll No = " << rollno; cout << "\n Name = " << name; } }; class exam_inte...
All HR and Technical interview questions with answers for freshers and experienced professional. It helps job seekers who are about to attend interviews.