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, 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
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
Get step-by-step solutions from verified subject matter experts
