题目内容

有以下程序: #include "stdio.h"void main(){ int i,j,m=1;for(i=1;i<3;i++){ for(j=3;j>0;j-- ){ if(i*j>3) break; m*=i*j; }}printf("m=%d\n",m);}程序运行后的输出结果是( )

A. m=4
B. m=2
C. m=6
D. m=5

查看答案
更多问题

有以下程序 #include"stdio.h"void main(){ int i,j;for(i=3; i>=1; i--)for(j=1; j<=2; j++)printf("%d ",i+j);} 程序的运行结果是( )

A. 4 3 2 5 4 3
B. 4 5 3 4 2 3
C. 2 3 3 4 4 5
D. 2 3 3 4 2 3

下列 for循环语句将输出: 0 1 2 0 1 2 0 1 2for( i=1; i<=9; i++ )printf("%2d", );

What is Dog Ma?

A center which accepts stray dogs sent by warm-hearted people.
B. A center where dogs are taken care of when their owners are away or at work.
C. A center where dogs are trained according to their owners' requirements.
D. A center where a dog can do whatever it likes so long as its owner has paid.

What can you learn from the passage?

A. Dog Ma seems to have a long history.
B. Dog Ma seems to be a state-owned business.
C. Dog Ma seems aimed at people with a good income.
Dog Ma seems to be located in the country.

答案查题题库