c++ program in which: Write three derived classes inheriting functionality of base class person (should have a member function that ask to enter name and age) and with added unique features of...


c++ program in which:


Write three derived classes inheriting functionality of base class person (should have a member
function that ask to enter name and age) and with added unique features of student, and
employee, and functionality to assign, change and delete records of student and employee.
And make one member function for printing address of the objects of classes (base and
derived) using this pointer.
Create two objects of base class and derived classes each and print the addresses of individual
objects.
Using calculator, calculate the address space occupied by each object and verify this with
address spaces printed by the program.



Jun 07, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here