题目内容

A complete array is passed to a function in the ( ) manner.

A. Pass by reference
B. Pass by value

查看答案
更多问题

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

答案查题题库