Home » Ask & Discuss » Board Exams - CBSE, ICSE, State Boards » Computer Science « Back to Discussion
Computer Science
Comments (1)
Manasi
Forum Expert
Joined: 1 Dec 2006
Posts: 2108
11 Feb 2012 19:05:23 IST
Like
0 people liked this
A friend function is a function that is not a member of a class but has access to the class's private and protected members. Friend functions are not considered class members; they are normal external functions that are given special access privileges. Friends are not in the class's scope, and they are not called using the member-selection operators (. and –>) unless they are members of another class
Reply











