答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
若i为整型变量,则以下循环执行次数是(). for(i=2;i==0;) printf(%d,i--);
①
无限次
②
0次
③
1次
④
2次
参考答案:
复制
纠错
相关题目
【单选题】
若i为整形变量,则以下循环执行次数是( )。 for (i=2;i==0) printf(%d,i--)
①
无限次
②
0次
③
1次
④
2次
查看完整题目与答案
【简答题】
若i,j已定义为int类型,则以下程序段中内循环体的总的执行次数是[填空1]。for (i=3;i;i--)for (j=0;jj++)
查看完整题目与答案
【简答题】
若i,j已定义为int类型,则以下程序段中内循环体的总的执行次数是[填空1]。for (j=0;jj++)for (i=5;i;i--){...}
查看完整题目与答案
【单选题】
若i,j已定义为int类型,则以下程序段中内循环体的总的执行次数是( )。for (i=5;i;i--)for (j=0;jj++){...}
①
30
②
25
③
24
④
20
查看完整题目与答案
【单选题】
若i,j已定义为int类型,则以下程序段中内循环体的总的执行次数是( )。for (i=5;i;i--)for (j=0;jj++){...}
①
20
②
24
③
25
④
30
查看完整题目与答案
【单选题】
若i,j已定义为int类型,则以下程序段中内循环体的总的执行次数是( )。for (i=5;i;i--)for (j=0;jj++){...}
①
25
②
20
③
24
④
30
查看完整题目与答案
【单选题】
若i,j已定义为int类型,则以下程序段中内循环体的总的执行次数是( )。for (i=4;i;i--)for (j=0;j5;j++){...}
①
20
②
24
③
25
④
30
查看完整题目与答案
【单选题】
以下循环体的执行次数是#include stdio.hvoid main(){ int i,j; for(i=0,j=1; i i=i+2) j--; }
①
3
②
2
③
1
④
0
查看完整题目与答案
【判断题】
for(i=1;i=100;i++)的执行次数为99次
①
正确
②
错误
查看完整题目与答案
【单选题】
有以下程序,程序运行以后的输出结果是() #include stdio.h main( ) { int a[ ]={2,3,5,4},i; for(i=0;i switch(i%2) { case 0:switch(a[i]%2) {case 0:a[i]++;break; case 1:a[i]--; }break; case 1:a[i]=0; } for(i=0;i printf(\n); }
①
3 3 4 4
②
2 0 5 0
③
3 0 4 0
④
0 3 0 4
查看完整题目与答案
随机题目
【单选题】
When she saw the clouds, she went back to the house to ____ her umbrella.
①
bring
②
fetch
③
take
④
carry
查看完整题目与答案
【单选题】
The new cut in interest rate ____ promote domestic investment.
①
means to
②
directs toward
③
is meant to
④
leads to
查看完整题目与答案
【单选题】
—__________fine day it is today!—Yes, the sunshine is__________beautiful that Id like to go swimming in the sea.
①
How, such
②
What a, very
③
How, so
④
What a, so
查看完整题目与答案
【单选题】
By cutting down trees we ____ the natural home of birds and animals.
①
harm
②
hurt
③
injure
④
damage
查看完整题目与答案
【单选题】
Nowadays, many people suffer from _________ depression under the pressure of working.
①
acute
②
sharp
③
quick
④
cute
查看完整题目与答案
【单选题】
Something must have happened on their way. Or they_____ by now.
①
should have arrived
②
should arrive
③
would have arrived
④
would arrive
查看完整题目与答案
【单选题】
The treasury issued an order stating that ____ land purchased from the government had to be paid for in gold and silver.
①
henceforth
②
moreover
③
whereby
④
however
查看完整题目与答案
【单选题】
If a substance is dissolved in water or heated, it may ____ a gas.
①
give into
②
give over
③
give off
④
give away
查看完整题目与答案
【单选题】
A(n)____ person is one who has much knowledge and the ability to use it well.
①
smart
②
intelligent
③
clever
④
wise
查看完整题目与答案
【单选题】
The actress wanted a hat to ____ her dress.
①
go by
②
go through
③
go out
④
go with
查看完整题目与答案