結果 : explain the use of friend function with example