Wisdom Materials
Home
About Us
Our Clients
Careers
Services
Education
Jobs
News
Business
Health
Astrology
Entertainment
RealEstate
Devotion
Contact Us
CPP Programs
/ CPP Program to Call the member function
Program Name
CPP Program to Call the member function
Program Code
Copy Program
#include
class base { public: virtual void print() { cout<< "Print from Base Class" <
print(); baseptr->show(); }
Input
Output
Print from Derived Class Show Base Class
Home
Back