已不再支援此瀏覽器。
請升級至 Microsoft Edge,以利用最新功能、安全性更新和技術支援。
This section includes the following topics:
Function declaration syntax
Variable argument lists
Declaring functions that take no arguments
Function overloading
Restrictions on functions
The argument declaration list
Argument lists in function prototypes (nondefining declaration)
Argument lists in function definitions
Default arguments
Default argument expressions
Other considerations
Function definition is covered in Function Definitions.
C++ Abstract Declarators