单项选择题
有以下程序:
main()
int x[8]=8,7,6,5,0,0,*s;
s=x+3;
printf("%d\n",s[2]);
执行后输出结果是( )。
A.随机值
B.0
C.5
D.6
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
有以下程序: #include <stdio.h> #define F(X,Y)(X)*(Y) main() int a=3,b=4; printf( %d n ,F(a++,b++)); 程序运行后的输出结果是( )。
A.12
B.15
C.16
D.20
点击查看答案&解析
单项选择题
有以下程序: main() char str[][10]= China , Beijing ),*p=str; printf( %s n ,p+10); 程序运行后的输出结果是( )。
A.China
B.Beijng
C.ng
D.ing
点击查看答案&解析
相关试题
以下程序的功能是将字符串s中的数字字符放...
已有定义如下: struct node int data...
以下程序运行后的输出结果是 【14】 。...
以下程序运行后的输出结果是 【18】 。...
下面程序的运行结果是 【17】 。 type...