hai,

what is friend fuction?

Recommended Answers

All 2 Replies

In object-oriented programming, a friend function that is a "friend" of a given class is
allowed access to private and protected data in that class that it would not normally
be able to as if the data was public.

http://en.wikipedia.org/wiki/Friend_function

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.