Question: Match the terms to the correct definitions: 1. function a. The program statements that makeup a function. 2. main b. The return type used when
Match the terms to the correct definitions:
| 1. function |
| a. The program statements that makeup a function. |
| 2. main |
| b. The return type used when a function does not return a value. |
| 3. call |
| c. Contains the program statement(s) that execute when the function is called. |
| 4. definition |
| d. The values that are passed or sent to the function. |
| 5. header |
| e. The entry point of a C++ program when it is executed. |
| 6. void |
| f. A copy of the function header line placed near the top of the source file so the compiler will recognize the functions before they are called. |
| 7. body |
| g. The variables that hold the values passed to the function. |
| 8. arguments |
| h. The C++ data type that the function returns when called. |
| 9. parameters |
| i. A collection of statements that performs a specific task. |
| 10. prototype |
| j. The answer or data value sent back by the function. |
| 11. return type |
| k. The first line of the function definition containing the name, return type, and the parameter list. |
| 12. return value |
| l. The statement that will execute a function. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
