Object Oriented Programming Practical 14
Object Oriented Programming Practical 14 Question 1 Write a C++ program to implement the concept of virtual base class for following figure. student.cpp C #include<iostream.h> #include<conio.h> class student { char name[50]; public: void accept() { cout<<"nEnter name of student: "; cin>>name; } void display() { cout<<"nName of student: "<<name; } }; class test:virtual public student […]
Object Oriented Programming Practical 14 Read More »