Question: Subject = C ++ { OOP } 3(a) What you will do to make the nonmember function capable of accessing the private data of any

 Subject = C ++ { OOP } 3(a) What you will

Subject = C ++ { OOP }

3(a) What you will do to make the nonmember function capable of accessing the private data of any class and to make ail the member functions of one class capable of accessing private data of another class? Explain with example. (b) WAP to add complex number of one ciass with the complex number of another class using non member firiction as friend of . both the classes

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!