In C language function, array name cannot be a formal parameter.
查看答案
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.