题目内容

Function call can be used as an actual parameter of a function.

查看答案
更多问题

#includef(int b[], int n) { int i, r; r=1; for(i=0; i<=n; i++) r=r*b[i]; return r; } main() { int x, a[]={ 2,3,4,5,6,7,8,9}; x=f(a, 3); printf("%d\n",x); } The output of the above program is ( ).

A. 720
B. 120
C. 24
D. 6

Two dimensional array can store multiple strings.

The wrong description of C language character array is ( )

A. Character arrays can hold strings
B. String in character array can be input and output as a whole
C. The whole character array can be assigned with the assignment operator "=" in the assignment statement, such as char ch[10]; ch="hello!";
D. You cannot compare strings in a character array with relational operators

答案查题题库