C++ Friend Question:
Download Job Interview Questions and Answers PDF
What are friend classes?
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain friend function? | Explain advantages of using friend classes? |