ProAnswers.org

What is a `friend' in c++?

Friends can be either functions or other classes. The class grants friends unlimited access privileges.