答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
以下程序的运行结果是。main( ){int c,x,y; x=1; y=1; c=0; c=x++||y++; printf(“\n%d%d%d\n”,x,y,c);}
①
110
②
211
③
011
④
001
参考答案:
复制
纠错
相关题目
【单选题】
以下程序的运行结果是。main( ){int c,x,y; x=1; y=1; c=0; c=x++||y++; printf(“\n%d%d%d\n”,x,y,c);}
①
110
②
011
③
211
④
001
查看完整题目与答案
【单选题】
执行下面程序后,运行结果是 #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
查看完整题目与答案
【单选题】
以下程序段的运行结果是( )。 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
查看完整题目与答案
【单选题】
写出下面程序的执行结果。main( ){ int x,y=1; if(y!=0) printf(“%d\t”,x); if(y= =0) else printf(“%d\t\n”,x);
①
1 3
②
1 5
③
5 3
④
5 5
查看完整题目与答案
【单选题】
写出下面程序的执行结果。main( ){ int x,y=1; if(y!=0) printf(“%d\t”,x); if(y= =0) else printf(“%d\t\n”,x);}
①
1 3
②
1 5
③
5 3
④
5 5
查看完整题目与答案
【单选题】
以下程序运行的结果是)main){intx=12,y;y=x>12?x+10:x-12;printf“y=%d\n”,y);}
①
y=0
②
y=22
③
y=12
④
y=10
查看完整题目与答案
【简答题】
分析下面程序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=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
查看完整题目与答案
【单选题】
若运行时给变量x输入12,则以下程序的运行结果是:main){intx,y;scanf%d,y=x>12?x+10:x12;printf%d\n,y)}
①
0
②
22
③
120)10
查看完整题目与答案
随机题目
【单选题】
A: Smoking is forbidden in the workshop, please stop it. B: Sorry, [填空].
①
I am not sure
②
I have no idea
③
I do know
④
I did not know
查看完整题目与答案
【单选题】
A: I feel quite sick, doctor. B: [填空] A: Im not sure, but I have got a bad headache.
①
How long have you been sick?
②
Im sorry to hear that
③
How are you feeling now?
④
Do you have a fever?
查看完整题目与答案
【单选题】
A: How soon will your parents fly to Beijing? B: [填空].
①
At 8:00 am
②
Yesterday
③
In three hours
④
Once a month
查看完整题目与答案
【单选题】
A: [填空] when you cross the street. Theres so much traffic. B: Yes, I will.
①
Be careful
②
Take care
③
Care about
④
Look out
查看完整题目与答案
【单选题】
A: Sorry to bother you. B: [填空].
①
Thats okay
②
No, you cant
③
Thats good
④
Dont mention it
查看完整题目与答案
【单选题】
A: Must I take a train? B: No, you [填空]. You can take a plane.
①
dont
②
must not
③
dont have to
④
can not
查看完整题目与答案
【单选题】
A: Dont worry. Ill leave the message on his desk. B: [填空].
①
Thats great
②
Thats great idea
③
Thank goodness
④
Its kind of you
查看完整题目与答案
【单选题】
A: May I help you, madam? B: [填空].
①
Thats very kind of you
②
You are very nice
③
Youd better give me a hand
④
Yes, Id like a kilo of apples
查看完整题目与答案
【单选题】
A: I didnt mean to do that. Please forgive me. B: [填空].
①
You are wrong
②
You are welcome
③
Thats all right
④
Thats OK
查看完整题目与答案
【单选题】
A: How do you do? B: [填空]
①
Fine, thank you.
②
How do you do?
③
Not too bad.
④
Very well.
查看完整题目与答案