Write a program that demonstrate the use of constructor with default arguments for the following problem. Define a class Person with data member as name and age. Create three objects with no argument,...


Write a program that demonstrate the use of constructor with default


arguments for the following problem. Define a class Person with data member as name


and age. Create three objects with no argument, one argument name and two argument


name and age. You are not allowed to create more than one constructor. (Write the program in c++ language)



Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here