Friend function

can you tell me about friend function and one program using that