当前位置: 答题翼 > 问答 > 学历类考试 > 正文
目录: 标题| 题干| 答案| 搜索| 相关
问题

#include<stdio.h>main(){int a[3][2]={{1,2},{3,4},{5,6}),i,j,s=0;for(i=1;i<3;i++)for(j=0;j<


#include<stdio.h>

main()

{

int a[3][2]={{1,2},{3,4},{5,6}),i,j,s=0;

for(i=1;i<3;i++)

for(j=0;j<2;j++)

s+=a[i][j];

print f("%d ",s);

}

参考答案
您可能感兴趣的试题
  • (29 )有以下程序# include (stdio.h )main (){ int a[5]= { 1 , 2 , 3 , 4 , 5 } , b[5] ={ O

  • (11 )有以下程序#include <stdio.h>main (){ int a[3][3]={{1,2,3},{4,5,6},{7,8,9}};int

  • (29 )有以下程序# include (stdio.h )main (){ int a[5]= { 1 , 2 , 3 , 4 , 5 } , b[5] ={ O

  • (11 )有以下程序#include <stdio.h>main (){ int a[3][3]={{1,2,3},{4,5,6},{7,8,9}};int

  • 请选出以下程序的输出结果 #include<stdio.h> main() {int a[]={1 2 3 4} i; int x=0; for

  • 有如下程序: #include<stdio.h> main() { int a[5]={1 2 3 4 5} b[5]