题目内容

An individual array element is passed to a function in the ( ) manner.

A. Pass by reference
B. Pass by value

查看答案
更多问题

According to the following function header line, the data type of the elements of “vals” is ( ):int findMax(double vals[], int len);

A. int
B. double
C. float
D. char

According to the following function prototype, for the array parameter “codes”, the data type of its elements is ( ):void findMax(char codes[], int len)

A. double
B. int
C. float
D. char

When we pass a complete array to a function, we are acutally passing ( ) of the array to the function.

A. starting address
B. data type of array elements
C. length
D. array name

When we pass a complete array to the function “findMax” with the following prototype, any modification on the parameter “codes” array will reflect in the corresponding array in the caller function.void findMax(char codes[], int len)

A. 对
B. 错

答案查题题库