1.

What is a friend function?

Answer»

A friend function is a non-member function and is a friend of a class. It is declared inside a class with the prefix friend and defined outside the class line any other normal function without the prefix friend.



Discussion

No Comment Found