Feedback for subjective question

Report on solved past papers subjective question
Question 1:

Write a program which consists of two classes, Date and Person.

Date class should contain three data members day, month, year and setter and getter function for these data members. Date class should also contain showdate() member function to display date.

Person class should contain three data members Name, Address, and Bday, where Name and Address are char pointer while Bday(Date of birth) is of type Date, Person class should further contain two member functions Display() and setdate().

In main program Create an object of Class person and call the member functions with it.

Please login to submit feedback on subjective question.

Login Now

Account Related


Earnings Related


Funds Related


Live Related


Sponsored

Theme Customizer

Gaussian Texture



Gradient Background