Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 2
What is an friend function
2 ответов
+ 5
@gupta
just like a friend
+ 4
a friend function is a function that have the right to access all the private and potected members of the class. Friend function is not a member function.