It's true that not having a car imposes some ______, but owning one also complicates life
A.constructions
B.introductions
C.instructions
D.restrictions
A.constructions
B.introductions
C.instructions
D.restrictions
第1题
以下程序运行后的输出结构是。main(){ int i,j,a[][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) for(j=i;j<3;j++)a[j][i]=0; for(i=0;i<3;i++) { for(j=0;j<3;j++) printf("%d ",a[i][j]); printf("\n"); }}
第2题
A.2
B.1
C.0
D.3
第3题
第4题
以下程序运行后的输出结果是【 】。 main() { int i,j,a[][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) for(j=i+1;j<3;j++)a[j][i]=0; for(i=0;i<3;i++) { for(j=0;j<3;j++)printf("%d",a[i][j]); printf("\n"); } }
第5题
有以下程序 main() { int a[3][3],*p,i; p=&a[0][0]; for(j=0;i<9;i++)p[i]=i; for(i=0;i<3;i++)printf("%d",a[1][i]); } 程序运行后的输出结果是
A.12
B.123
C.234
D.345
第6题
以下程序的输出结果是______。 main() { int a[3][3]={{1,2},{3,4},{5,6}},i,j,s=0; for(i=0;i<3;i++) for(j=0;j<=i;j++) s+=a[i][j]; printf("%d\n",s); }
A.18
B.19
C.20
D.21
第7题
(9 )有以下程序
#include <stdio.h>
main ()
{ int i,j,a[][3]={1,2,3,4,5,6,7,8,9};
for (i=0;i<3;i++ )
for (j=i;j<3;j++ ) printf (" %d%,a[i][j] ) ;
printf (" \n " ) ;
}
程序运行后的输出结果是 【 9 】 。
第8题
A.0
B.1
C.2
D.3
第9题
A.0
B.1
C.2
D.3
第10题
以下程序的输出结果是 () main() { int n[3] [3],i,j; for (i=0;i<3;i+ +) for(j=0;i<3;++) n[i][j]=i+j; for(i=0;i<2;i++) for(j=0,j<2;j++) n[i+1][j+1]+=[i][j]; printf("%d\n",n[1][j]); }
A.14
B.0
C.6
D.值不确定
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!