填空题
以下程序的运行结果是______。
#include<stdio.h>
main()
int fun(); fun();
fun()
static int a[3]=0, 1, 2;
int i;
for(i=0; i<3; i++)a[i]+=a[i];
for(i=0; i<3; i++)printf("%d, ", a[i]);
printf("\n");
【参考答案】
0,2,4
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
已知字符A的ASCII代码值为65,以下程序运行时若从键盘输入:B33<回车>,则输出结果是______。 #include<stdio.h> main() char a, b; a=getchar(); scanf( %d , &b); a=a-’A’+’0’; b=b*2; printf( % c % c n , a, b);
点击查看答案&解析
填空题
filea. dat , r
点击查看答案
相关试题
2468
!feof
b[I][0]
以下程序的输出结果是______。 int...
以下程序用来输出结构体变量ex所占存储单元...