答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数: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 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 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
②
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 5 1
②
3 7 0
③
5 5 0
④
1 7 0
查看完整题目与答案
【单选题】
写出下面程序的执行结果。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() {int x=2,y=-1,z=2; if(xy) if(y0) z=0; else z+=1; printf(%d\n }
①
3
②
2
③
1
④
0
查看完整题目与答案
【单选题】
执行下面程序后,运行结果是 #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
查看完整题目与答案
【判断题】
x0=-5+t,y0=1+t是3x+6y=15的解.
①
正确
②
错误
查看完整题目与答案
【简答题】
分析下面程序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]。
查看完整题目与答案
【单选题】
设有如下定义:int x=0,y=3,z; 则语句printf(%d\n,z=(x%y,x/y));的输出结果是
①
1
②
0
③
4
④
3
查看完整题目与答案
随机题目
【单选题】
She dares to go alone, _____?
①
does she
②
dares she
③
doesn’ t she
④
daren’ t she
查看完整题目与答案
【单选题】
Its an important component of preschool education to help and instruct young children to develop a positive ______.
①
self-reality
②
self-evidence
③
self-service
④
self-concept
查看完整题目与答案
【单选题】
You ____ business interfering with my affairs.
①
have none
②
have no
③
have none of the
④
have nothing like
查看完整题目与答案
【单选题】
Whatwereyoudoing ______ therainstormcame?
①
while
②
when
③
before
④
after
查看完整题目与答案
【单选题】
We looked for a table to sit down, but they were all ____.
①
reserved for
②
engaged in
③
used up
④
taken up
查看完整题目与答案
【单选题】
It is ____ with the customer not to let the shop assistants guess what she really likes and wants until the last moment.
①
in her honor
②
on her honor
③
a point of honor
④
an honor
查看完整题目与答案
【单选题】
But the Swiss discovered long years ago that constant warfare brought them ____suffering and poverty.
①
anything but
②
nothing but
③
none other than
④
no more than
查看完整题目与答案
【单选题】
Information and opinion gap exercises have to have some content ___ talking about.
①
worthwhile
②
worthily
③
worth
④
worthy
查看完整题目与答案
【单选题】
Jane tried to ____ the doorman with money, but she failed.
①
bribe
②
corrupt
③
award
④
endow
查看完整题目与答案
【单选题】
He packed an ____ shirt in case he had to stay another day.
①
spare
②
unnecessary
③
excessive
④
extra
查看完整题目与答案