以下程序的运行结果是( )main(){ int j;j=20;for( ; j>=0 ; j-=20){ if( j ) printf(“Good!” );else printf(“Not good!”);}}
A: Good!Good!
B: Not good!
C: Good!
D: Good! Not good!
A: Good!Good!
B: Not good!
C: Good!
D: Good! Not good!
举一反三
- 下面程序的运行结果是 。 main( ) { int i,j; for(i=0;i<=3;i++) { for(j=0;j<=5;j++) { if(i==0||j==0||i==3||j==5) printf(“*”); else printf(“ ”); } printf(“ ”); } }
- 已知 fn = 'good {0}'.format,那么表达式 list(map(fn, 'girl'))的值为 A: ['good g', 'good i', 'good r', 'good l'] B: ['good girl'] C: 'good girl' D: 'good'
- He is _______swimming. A: good on B: good for C: good with D: good at
- 以下程序的输出结果语句是( )。void main( ){ int j; for (j=5; j>0; j--) if(j%2==0)continue; else printf("%d", j);} A: 42 B: 4 C: 531 D: 54321
- Good A and good B are substitutes in production. The demand for good A decreases, which lowers the price of good A. The decrease in the price of good A ( ) A: decreases the supply of good B: increases the supply of good C: decreases the demand for good D: increases the demand for good