Get premium membership and access questions with answers, video lessons as well as revision papers.

What is a friend function in a computer program?

      

What is a friend function in a computer program?

  

Answers


Davis
A friend is a nonmember function that is granted access to the private members of the class for which it is a friend.
Githiari answered the question on February 4, 2018 at 11:13


Next: Explain why you must be careful when passing object to a function or returning objects from a function in a program.
Previous: What is the 'this' pointer in a program code?

View More Computer Science Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions