Can we write member function of one class as friend of another class ? How
Yes, we can write member function of one class as friend of another class.These can be one of the important uses/needs of friend function in c++.
Didn't get the answer.
Contact people of Talent-Object Oriented Programming directly by clicking here