答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
执行下面程序:main(){intx=1,y=1,z=1;x=x+++y+++z++;printf("%d,%d,%d",x,++y,z++);}输出的结果为()
①
4,3,2
②
3,3,2
③
3,3,3
④
3,2,2
参考答案:
复制
纠错
相关题目
【简答题】
分析下面程序main(){ int x=2,y,z;x*=3+2;printf(%d\nx*=y=z=4;printf(%d\nx=y=1;z=x++-1;printf(%d,%d\n,x,z);z+=-x++ +(++y);printf(%d,%d,x,z); }程序的输出结果是[填空1]。
查看完整题目与答案
【单选题】
写出下面程序的执行结果。main(){ int x=1,y=1,z=0;if(z0)if(y0) x=3;else x=5;printf(%d\tif(z=y0) x=3;else if(y= =0 ) x=5;else x=7;printf(%d\tprintf(%d\t}
①
1 5 1
②
1 7 0
③
3 7 0
④
5 5 0
查看完整题目与答案
【单选题】
写出下面程序的执行结果。main(){ int x=1,y=1,z=0;if(z0)if(y0) x=3;else x=5;printf(%d\tif(z=y0) x=3;else if(y= =0 ) x=5;else x=7;printf(%d\tprintf(%d\t
①
1 7 0
②
3 7 0
③
5 5 0
④
1 5 1
查看完整题目与答案
【单选题】
写出下面程序的执行结果。main(){ int x=1,y=1,z=0;if(z0)if(y0) x=3;else x=5;printf(%d\tif(z=y0) x=3;else if(y= =0 ) x=5;else x=7;printf(%d\tprintf(%d\t}
①
1 5 1
②
3 7 0
③
5 5 0
④
1 7 0
查看完整题目与答案
【单选题】
写出下面程序的执行结果。main(){ int x=1,y=1,z=0;if(z0)if(y0) x=3;else x=5;printf(%d\tif(z=y0) x=3;else if(y= =0 ) x=5;else x=7;printf(%d\tprintf(%d\t}
①
1 7 0
②
3 7 0
③
5 5 0
④
1 5 1
查看完整题目与答案
【单选题】
下面程序的输出结果是() main( ) {int x=40,y=4,z=4; x=y==z; printf(%d,x); x=x==(y-z); printf(%d,x); }
①
40
②
41
③
11
④
10
查看完整题目与答案
【单选题】
以下程序输出结果是( )。 Main() {int x=2,y=-1,z=2; if(xy) if(y0) z=0; else z+=1; printf(%d\n }
①
3
②
2
③
1
④
0
查看完整题目与答案
【单选题】
以下程序段的运行结果是( )。 for(y=1;y) y=((x=3*y,x+1),x-1); printf(x=%d,y=%d,x,y);
①
x=27,y=27
②
x=12,y=13
③
x=15,y=14
④
x=y=27
查看完整题目与答案
【单选题】
执行下面程序后,运行结果是 #includevoid main( ) { int x=41,y=1; if (x%3==0 x%7==0) { y+=x;printf(y=%d\n} else {y=x;printf(y=%d} }
①
y=41
②
y=43
③
y=42
④
y=1
查看完整题目与答案
【单选题】
若w=1,x=2,y=3,z=4,则表达式w<x?w:y<z?y:z的值是()
①
4
②
3
③
2
④
1
查看完整题目与答案
随机题目
【判断题】
判断线上的内容是否正确:He did not __compromise___ easily, but was willing to accept any constructive advice for a worthy cause.
①
正确
②
错误
查看完整题目与答案
【判断题】
判断线上的内容是否正确:___While___some people are motivated by a need for success, others are motivated by a fear of failure.
①
正确
②
错误
查看完整题目与答案
【判断题】
判断线上的内容是否正确:—Jack still can’t help being anxious about his job interview. —Lack of self-confidence is his___Achilles’ heel___, I am afraid.
①
正确
②
错误
查看完整题目与答案
【判断题】
判断线上的内容是否正确:These two chemicals ____interact_____ with each other at a certain temperature to produce a substance which could cause an explosion.
①
正确
②
错误
查看完整题目与答案
【单选题】
Wow. That’s a marvelous room. I’ve never known you’re so artistic!____________
①
Thank you for your compliments.
②
Don’t mention it.
③
Great, I am very art-conscious.
④
It’s fine.
查看完整题目与答案
【单选题】
Could you make an appointment with Doctor Wilson for me?____________
①
I cannot do it for you.
②
Im afraid all the appointments are filled.
③
You can have it.
④
Can I help you?
查看完整题目与答案
【单选题】
This box is too heavy for me to carry upstairs.__________
①
You may ask for help.
②
Let me give you a hand.
③
Please do me a favor.
④
I’d come to help
查看完整题目与答案
【单选题】
He cannot be tired _______ he has walked only half a mile.
①
since
②
whether
③
when
④
as long as
查看完整题目与答案
【单选题】
The idea of winning the eyes of the people around ____ powerfully to some youngsters, so they are eagerly identifying themselves.
①
defy
②
expel
③
attract
④
appeals
查看完整题目与答案
【单选题】
The top of the Great Wall is _______ for five horses to go side by side.
①
wide
②
wide enough
③
enough wide
④
so wide
查看完整题目与答案