填空题
有以下程序:
#include <stdio.h>
main()
int a[3][3]=1,2,3,4,5,6,7,8,9;
int b[3]=0,i;
for(i=0;i<3;i++) b[i]=a[i][2]+a[2][i];
for(i=0;i<3;i++) printf("%d",b[i]);
printf("\n");
程序运行后的输出结果是______。
【参考答案】
101418
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
填空题
有以下程序: #include <stdio.h> struct STU int num; float TotalScore;; void f(struct STU p) struct STU s[2]=20044,550,20045,537; p.num=s[1].num; p.TotalScore=s[1].TotalScore; main() struct STU s[2]=20041,703,20042,580; f(s[0]); printf( %d%3.0f n ,s[0].num, s[0].TotalScore); 程序运行后的输出结果是______。
点击查看答案&解析
填空题
-f
点击查看答案
相关试题
fun(10)
f.txt
FILE
有以下程序: #include <stdio.h> i...
以下程序中函数f的功能是在数组x的n个数(...