Question: Add Two constructors: A- No argument that puts the Name in a safe empty state (It is your call to decide what is a safe

Add Two constructors: A- No argument that puts the Name in a safe empty state (It is your call to decide what is a safe empty state for a Mark) B- A 2 argument constructor that sets a Name. C- Add a method calls isEmpty() that returns a Boolean. It returns true if the Mark is in a safe empty state. D- A display function that displays the full name.

class Name { char buffer[51]; char m_first[21]; char m_last[31]; public:

void firstname(const char* value); // sets the name void lastname(const char* value); // sets the last name const char* fullname(); // returns a string containing full name };

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!