题目内容

The function ____ returns a non-0 number if the argument is a letter or a digit; otherwise it returns a 0.

A. int isalnum(int)
B. int isalpha(int)
C. int isdigit(int)
D. int isxdigit(int)

查看答案
更多问题

Failure to exactly match the return value with the function’s declared data type can lead to undesired results because the return value is always converted to the data type declared in the function’s header line.

The purpose of a ____ is to operate on the passed data and through return statement, at most, one value directly back to the calling function.

A. function header
B. prototype
C. function body
D. function declaration

A ____ is the beginning of a final function that is used as a placeholder for the final function until the function is completed.

A. function header
B. stub
C. prototype
D. calling function

To return a value, a function can use a(n) ____ statement.

A. exit
B. throw
C. break
D. return

答案查题题库