What is friend function?

What is friend function?

Its not a actually members of the class it cn access only private and protected member of the class .The function acts as a friend to a class. As a friend of a class, it must be listed in the class definition. 

By:Umang
Date:2006-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related C Subjective Links

C Subjective interview questions and answers for experienced and fresher