单选题
C语言
2008-03-21
有以下程序 mian() {int i,j; for(i=1;i<4;i++) {for(j=i;j<4;j++) printf(“%d*%d=%d “,i,j,i*j); printf(“\n”); } } 程序运行后的输出结果是( )。
A. 1*1=1 1*2=2 1*3=3
2*1=2 2*2=4 2*2=4
2*1=2 2*2=4 2*2=4
B. 1*1=1 1*2=2 1*3=3
2*3=6 3*1=3 3*3=9
2*3=6 3*1=3 3*3=9
C. 1*1=1 2*3=6 3*3=9
2*1=2 2*2=4 1*3=3
2*1=2 2*2=4 1*3=3
D. 1*1=1 1*2=2 2*2=4
3*1=3 3*2=6 3*3=9
3*1=3 3*2=6 3*3=9
参考答案
B
答案解析
暂无解析
你可能感兴趣的试题
A.n,two
B.t,one
C.w,one
D.o,two
A.随机值
B.0
C.5
D.6
A.int N=5,b[N][N];
B.int a[1][2]={{1},{3}};
C.int c[2][]={{1,2},{3,4}};
D.int d[3][2]={{1,2},{34}};