Current location - Quotes Website - Personality signature - What is the relationship between function signature and function overloading?
What is the relationship between function signature and function overloading?

Function overloading is to use different function signatures to distinguish which method the caller is calling.

Function overloading refers to two functions with the same function name, but different number of parameters or total parameter types.

The function signature refers to everything about a function except the function name, such as return value, parameters, calling method, etc.