Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

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...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: