0

What is friend function

b

7th Sep 2017, 7:35 AM
ashish kumar
ashish kumar - avatar
3 Respostas
+ 8
A function declared as a friend of a class will be granted permission to access private members of said class. Please refer to the tutorials for more examples.
7th Sep 2017, 8:02 AM
Hatsy Rei
Hatsy Rei - avatar
+ 6
it is something well explain in Sololearn course ! And just writing friend functions Cpp on Google will help you find tones of well explained answers !
7th Sep 2017, 7:42 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 4
For God's sake, what do you people achieve by spamming questions already explaibed in lessons? We need to solve this
7th Sep 2017, 8:04 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar