C++ Friend Question:

What are friend classes?

Tweet Share WhatsApp

Answer:

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 PDF Read All 20 C++ Friend Questions
Previous QuestionNext Question
Explain friend function?Explain advantages of using friend classes?