0
Why is the friend?
Why is the friend keyword when both getter and setter can solve this problem, so why should I use it or when should I use this keyword?
2 Answers
+ 2
I see you have completed the C++ tutorial đ
Maybe you forget this chapter
https://www.sololearn.com/learn/CPlusPlus/1899/?ref=app
0
Iâve seen it more than once, but I donât know what is the reason why I should use this keyword, what is the situation where it is necessary to use it?