c++ program in which:
Write three derived classes inheriting functionality of base class person (should have a memberfunction that ask to enter name and age) and with added unique features of student, andemployee, 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 andderived) using this pointer.Create two objects of base class and derived classes each and print the addresses of individualobjects.Using calculator, calculate the address space occupied by each object and verify this withaddress spaces printed by the program.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here