Concept of friend function in c++

Can we write member function of one class as friend of another class ? How

  • Snehal
  • 09 Jul 2018
  • 8646 Views
  • 6 Answers
Your Answer

hello am saying that...c+ friend funtion.advertiments.a friend funtion of class defined outside the class but access the all right  protecd member access of the class friend funtion appeer the class deftion.
thank you

Object Oriented Programming

Didn't get the answer.
Contact people of Talent-Object Oriented Programming directly by clicking here