• Register

What is friend class in C++?

asked Dec 3, 2012 by Sandeep Kane

1 Answer

0 votes
To give direct access to protected and private members of a class we use the concept of friend class. For this we use the keyword friend.
answered Dec 3, 2012 by Ashwini Kumar
I am sorry but what are saying about is friend function.
friend class is something other one.

Related questions

0 answers
1 answer
1 answer
asked Dec 5, 2012 by anonymous
1 answer
asked Dec 5, 2012 by anonymous
1 answer
asked Dec 5, 2012 by anonymous
...