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)
___ is an example of a function prototype.
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)
____ is a prototype of a function that returns no value.
A. void funcA();
B. funcA();
C. int funcA();
D. null funcA();