Mohd Sairab
What are some advantages/disadvantages of using friend functions?
by sairab mohd - Tuesday, 13 March 2012, 06:23 AM
 

What are some advantages/disadvantages of using friend functions?

Picture of anusha deekonda
Re: What are some advantages/disadvantages of using friend functions?
by anusha deekonda - Friday, 27 April 2012, 12:16 AM
 

The friend function is called using the f(x).It is a non member function of a class.friend is a keyword,  u can access the data of other funtion using this.

the disadv is that they add to the global namespace.


Skip Navigation

Navigation

Skip OpenGurukulSkip Settings

Settings