結果 : use of friend function with example