There's no difference in defining function,as the c you show is just c++:)