+ 1

What is the use of friend function?

in c++

29th May 2017, 6:44 AM
PREMMARAN G
PREMMARAN G - avatar
12 Réponses
+ 2
tq frnd
29th May 2017, 7:27 AM
PREMMARAN G
PREMMARAN G - avatar
+ 9
2014
29th Jul 2017, 3:19 AM
PREMMARAN G
PREMMARAN G - avatar
+ 8
tamilnadu,sathyamangalam
24th Jul 2017, 6:20 PM
PREMMARAN G
PREMMARAN G - avatar
+ 6
yes
24th Jul 2017, 6:17 PM
PREMMARAN G
PREMMARAN G - avatar
+ 6
y boss
24th Jul 2017, 6:18 PM
PREMMARAN G
PREMMARAN G - avatar
+ 6
premmaran
24th Jul 2017, 6:18 PM
PREMMARAN G
PREMMARAN G - avatar
+ 6
😊s bro
29th Jul 2017, 3:17 AM
PREMMARAN G
PREMMARAN G - avatar
+ 5
A friend function in C++ helps us to access private members of class.
30th Jun 2017, 3:59 PM
Prajakta Dilip Jadhav
+ 3
using friend function u can access the private and protected members of a class .... we need to use friend keyword before a member function. example ~~~~~~ friend int add(); note: it is not a member of a class
6th Aug 2017, 11:55 AM
Raj Luffy
Raj Luffy - avatar
+ 2
2
26th Jul 2017, 11:15 PM
Gaby
Gaby - avatar
+ 2
👍
29th Jul 2017, 3:20 AM
Akash Rana
Akash Rana - avatar
+ 1
👍
24th Jul 2017, 6:19 PM
Akash Rana
Akash Rana - avatar