Computer Science, asked by susmitabasumatary, 4 months ago

Explain the need for using a friend function.​

Answers

Answered by Anonymous
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
Math, 2 months ago