Friend Function In C Vs Friend Class