题目内容

The items enclosed within the parentheses in a function call statement are called ____ of the function.

A. parameter
B. formal argument
C. argument
D. actual argument

查看答案
更多问题

When a function simply receives copies of the values of the arguments and must determine where to store these values before it does anything else, this is known as a ____.

A. pass by value
B. pass by reference
C. stub
D. function definition

The argument names in the header line of a function are known as ____.

A. arguments
B. parameters
C. actual arguments
D. prototype

A ____ declares the function to the compiler—it tells the compiler the name of the function, the data type of the value that the function will return (the keyword void indicates that the function will not be returning any value), and the data types of each argument that the function expects to receive when it is called.

A. function prototype
B. called function
C. calling function
D. function definition

___ is an example of a function header line.

A. float roi(int, double);
B. printf("%f", roi(3, amt));
C. float roi( int yrs, double rate);
D. float roi( int yrs, double rate)

答案查题题库