Friend Function In C Vs Friend Method