Question: Write an OOP Complete Program (overloading constructor, destructor and pointers) to represent 10 students, the class constructor will set the values to all the

Write an OOP Complete Program (overloading constructor, destructor and pointers) to represent 10 students,  

Write an OOP Complete Program (overloading constructor, destructor and pointers) to represent 10 students, the class constructor will set the values to all the data members for each student, then calculate the average for each student using friend function, then create another class to represent the university, use a friend function of a second class to print the values of the first class? Note: data members for the student (id, name, branch). Data members for the university (name). You can using (friend class and array of object).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres an example of how you could structure the code to meet those requirements cpp include include class Student Forward declaration class University ... View full answer

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 Programming Questions!