Explain the need for using a friend function.
Answers
Answered by
1
Answer:
The keyword friend is a function specifier and gives a non-member function access to the hidden members of the class, and provides a method of escaping the data hiding restrictions of C++. ... Some functions need privileged access to more than one class.
Explanation:
hope you appreciate this ans
Similar questions