当前位置:IT认证>计算机二级

问题:

[单选] fun函数的功能是:通过键盘输入给x所指的整型数组所有元素赋值。在下列划线处应该填写的是(  )。
#include 
#define N 5
Void fun(int x[N])
{int m;
For(m=N-1;m>0;m--) scanf(“%d”,____);
}
A.&x[++m] 
B.&x[m+1] 
C.x+(m++) 
D.x+m

在关系数据库中,用来表示实体间联系的是 二维表     。 树状结构   。 属性     。 网状结构。 有以下函数#include void fun(char c){if(c>’x’) fun(c-1);printf (“%c”,c);}main(){fun(”z”);}程序运行输出结果是(  )。 xyz 。 wxyz 。 zyxw 。 zyx。 #include void main() { char a[20], b[20], c[20]; scanf("%s%s", a, b); gets(c); printf("%s%s%s", a, b, c); } 程序运行时从第一行开始输入 this is a cat!<回车>,则输出结果是(  )。thisisacat! this is a thisis a cat! thisisa cat! thisisacat! 。 this is a 。 thisis a cat! 。 thisisa cat!。 fun函数的功能是:通过键盘输入给x所指的整型数组所有元素赋值。在下列划线处应该填写的是(  )。
#include 
#define N 5
Void fun(int x[N])
{int m;
For(m=N-1;m>0;m--) scanf(“%d”,____);
}
A.&x[++m] 
B.&x[m+1] 
C.x+(m++) 
D.x+m
参考答案:

  参考解析

 

在线 客服