Hello. I would appreciate very much if anyone can help me in the following
I know you can overload a method in C++ using the same name of a function for different versions with different number of arguments
But checking the code in C that I am working with I found the following
a function defined in one file as
then in another file I haveCode:void SRecvEth(void) { // blablabla }
and lower in that file the function called asCode:void SRecvEth(unsigned int SOCK_NO);
I build the code without problems! How can this be possible? Shouldnt this generate an error?! am I missing something?Code:SRecvEth(SOCK_NO);