...

>

Friend Functions

Friend Functions

We'll take a look at a special category of functions called friends.

The private data members of a class are only accessible through the functions present in that class. Nothing from outside can manipulate the ...