+ 3

Friend function possesses characteristics:

1. It's not in the scope of the class in which declared as friend 2.It can't be called using object of that class 3. It can be invoked like normal function with out help of class 4.it can't access the members names directly and has to use object name

6th Oct 2017, 4:45 AM
Shivam pandey
Shivam pandey - avatar
1 Odpowiedź
+ 2
Thanks for sharing!
21st Oct 2017, 4:31 PM
Manual
Manual - avatar