下面程序输出的结果是main(){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i3;i++)printf("%d ",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是
main()
{ int i;
int a[3][3]={1,2,3,4,5,6,7,8,9};
for(i=0;i<3;i++)
printf("%d ",a[2-i][i]);
}
A.1 5 9
B.7 5 3
C.3 5 7
D.5 9 1
相关考题:
下面程序输出的结果是 include void main( ) { inti; int a[3] [3] ={1,2,3,4,5,6, 下面程序输出的结果是#include<iostream.h>void main( ){ inti;int a[3] [3] ={1,2,3,4,5,6,7,8,91;for(i=0;i<3;i++)cout < < a[2-i] [i] < < " ";}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是 main() {int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) printf("%d",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是includevoid main( ){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9 下面程序输出的结果是 #include<iostream.h> void main( ) { int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;<3;i++) cout << a[2-i][i]<<" "; }A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是()includevoid main(){inti:int a[3][3]={1,2,3,4,5,6,7,8,9} 下面程序输出的结果是( ) #include<iostreas.h> void main() {inti: int a[3] [3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++= cout<<a [i] [i]<<" ";}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是includevoid main(){ int i; int a[3][3]={1,2,3,4,5,6,7,8,9 下面程序输出的结果是 #include<iostream.h> void main() { int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;<3;i++) cout<<a[2-i][i]<<" "; }A.1 5 9B.7 5 3C.3 5 7D.5 91
下面程序输出的结果是main( ){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i<3;i++)printf("%d",a[2-i][i]);}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是 include void main( ) { int i; int a[3][3]={1,2, 下面程序输出的结果是 #include<iostream.h> void main( ) { int i; int a[3][3]={1,2,3,4,5,6,7,8,9}; for(i=0;i<3;i++) cout<<a[i][i]<<" ";}A.1 5 9B.7 5 3C.3 5 7D.5 9 1
下面程序输出的结果是main(){ int i;int a[3][3]={1,2,3,4,5,6,7,8,9};for(i=0;i3;i++)printf("%d ",a[2-i][i]); }A.1 5 9B.7 5 3C.3 5 7D.5 9 1
若有以下程序: inclcude void main(){int i;int a[3] [3]= { 1,2,3,4,5,6,7,8,9 }; 若有以下程序:# inclcude <iostream.h>void main(){int i;int a[3] [3]= { 1,2,3,4,5,6,7,8,9 };for(i=0;i<3;i++)cout<<a[2-i] [i]<<" ";cout<<end1;}执行后的输出结果是( )。A.1 5 9B.7 5 3C.3 5 7D.5 9 1