1/9
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
A function heading consists of
A return type, a function identifier and a parameter list
The parameters for a function
are allocated when the function begins execution
The arguments for a function
are provided by the caller
The arguments for a function
are placed in a comma-delimited list in the function call operator
Local variables
are created when the function begins execution
The function call operator
is appended to the function identifier
The parameters in a parameter list
Must have their data types explicitly specified
A local stack variable
is released when a function returns to its caller
A function prototype provides for the compiler
the return type, the function identifier, and the data types of the parameters
In terms of syntax, the only difference between a function implementation and a function prototype is
the implementation has a function body while the prototype has a semicolon