Question: pls reply asap 6 Given the following class definition, write appropriate definitions for the four member functions (outside the class definition): the constructor (must use

 pls reply asap 6 Given the following class definition, write appropriate
pls reply asap

6 Given the following class definition, write appropriate definitions for the four member functions (outside the class definition): the constructor (must use new to dynamically allocate memory), destructor to free memory, the functions getName() and getNumber(you don't need to write the main program). class School + public: School (char *netr, int a); -School(); // sets the member variables to the values given as arguments: char *getName(); int getNumber(); // get the number of students private: char name: int numberofstudents; 1

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!