Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 classesStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started