C++ Friend Question:
Download Questions PDF

What are friend classes?


The friend function is a ‘non member function’ of a class. It can access non public members of the class. A friend function is external to the class definition.

Download C++ Friend Interview Questions And Answers PDF

Previous QuestionNext Question
Explain friend function?Explain advantages of using friend classes?