Term
|
Definition
A function can send a value to the part of the program that executed it. The data type of the value that is sent from the function. |
|
|
Term
|
Definition
You should give each function a descriptive name. In general, the same rules that apply to variable names also apply to function names. |
|
|
Term
|
Definition
The program can send data into a function. A list of variables that hold the values being passed to the function. |
|
|
Term
|
Definition
is the set of statements that perform the function's operation. They are enclosed in a set of braces. |
|
|
Term
When called the function is what? |
|
Definition
|
|
Term
|
Definition
is a part of the function definition. It declares the function's return type, name, and parameter list. It is not terminated with a semicolon because the definition of the functions body follows it. |
|
|
Term
|
Definition
is a statement that executes the function, so it is terminated with a semicolon like all other C++ statements. The return type is not listed in the function call, and if the program is not passing data into the function, the parentheses are left empty. |
|
|