+ 1

Why friend function??

27th Mar 2018, 2:21 PM
Prashant Sholapur
Prashant Sholapur - avatar
2 Antworten
0
Cuz it makes two classes friends and allow friend function to have access to their private fields in the same time
28th Mar 2018, 9:11 AM
Maxim Sechenov
Maxim Sechenov - avatar