Showing posts with label Friend function. Show all posts
Showing posts with label Friend function. Show all posts

Wednesday, March 23, 2011

Friend function

A non-member function that is allowed access to the private variable of a class is called a friend of the class.