以下函数的功能是:通过键盘输入数据,为数组中的所有元素赋值。 #include <stdio.h> #define N 10 void fun(int x[N]) { int i=0; while (i<N) scanf("%d",______); } 在程序中下划线处应填入的是( )。
A.x+i B.&x[i+1] C. x+(i++) D.&x[++i]正确答案C
以下函数的功能是:通过键盘输入数据,为数组中的所有元素赋值。 #include <stdio.h> #define N 10 void fun(int x[N]) { int i=0; while (i<N) scanf("%d",______); } 在程序中下划线处应填入的是( )。
A.x+i B.&x[i+1] C. x+(i++) D.&x[++i]正确答案C