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