Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 2
What is an friend function
2 Answers
+ 5
@gupta
just like a friend
+ 4
a friend function is a function that have the right to access all the private and potected members of the class. Friend function is not a member function.