Which keyword is used to make a nonmember function as friend function of a class?
Which keyword is used to make a nonmember function as friend function of a class? Correct Answer friend
The keyword friend is provided in programming languages to use it whenever a functions is to be made friend of one class or other. The keyword indicates that the function is capable of new functionalities like accessing private members.