
Featured
- 
            
              
Binary search in C++
If you want to find the presence of a element in a
by kumar.abhishek 
Tags
Friend Function
                      Friend Function
These are special functions which can access the private members of a class.
 Private and protected data of class can be accessed from a friend function. 
Declaration of Friend Function
class className
{
    ......... 
                      Friend Function in C++
                      Friend Function:- Friend Function is Friendly to all the classes which can be declared as a friend of that class. "Friendship is given not taken" this statement means to say the friend is always declared by the class it self. when any class can u... 
                      
        
        