I just started learning C for two months, I used to C foundation, and later learned VB, and web programming. Now start learning C , wanting C as its new breakthrough point.
Recently, it is not understood to the function overload mechanism of C . Ask everyone's help.
The problem is specifically described as follows:
More generally C support is called function to overload function overloading mechanism function overload allows two or more functions to limit the same name limit condition is that their parameter tables must be different or different from different parameters. The parameter table compiler can determine which version of the overload function that should be selected for a particular call should be a set of legal min () overload functions These functions can also be a class member function // group of min () The overload function // Each function has a unique parameter table #include
The type of parameter and number of functions in C before C is determined in advance, why can it be based on parameters in C
Type and number of differentiated parameters?
Thank you for your help. I urgently want to exchange learning with C programmers.
Pytruth1002@163.com
QQ: 16773707