C++ Friend functions and classes related interview questions

What are the characteristics of friend functions? - A friend function is not in the scope of the class n which it has been declared as friend....
What is a friend function? - Private data members cannot be accessed from outside the class. ...
Advantages of using friend classes - A friend class and all its member functions have access to all the private members defined within other class. ..
Guideline that should be followed while using friend function - When the application is needed to access a private member of another class, the only way is to utilize the friend functions.....