C language function declaration and call problems
- 2020-04-02 01:16:02
- OfStack
If a function is defined before it is called, it is not declared
In fact, if the function is not declared before the function is called, the compilation system declares the function in the form (function definition or function call) first encountered, and considers the default value type int
For example, if you call void Max (int a,int b), the system will treat the function as int Max (int a,int b);