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.
Bissoy MCQ

Related Questions

If class B inherits class A privately. And class B has a friend function. Will the friend function be able to access the private member of class A?
Making class members inaccessible to nonmember functions is an example of
As a nonmember who can participate in the proceedings of either House of the Parliament?