Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions