Question: Lab Objectives: * You will practice in this lab with friend functions and classes 1. Define a friend function printDetails(Hospital& e) to print the details

 Lab Objectives: * You will practice in this lab with friend

Lab Objectives: * You will practice in this lab with friend functions and classes 1. Define a friend function printDetails(Hospital& e) to print the details of the Hospital. 2. Define a friend function remove DoctorFromHospital(Hospital& current Hospital, int i): this function removes the ith Doctor from the array Doctors in the current Hospital object and shifts remaining Doctors. i should be in a proper range

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!