答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数: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
查看完整题目与答案
随机题目
【单选题】
I am a bit ( ) at the moment. Can you come back later?
①
tied over
②
tied out
③
tied up
④
tied
查看完整题目与答案
【单选题】
This letter is to ( ) my fax and your answer of today in which you agreed to reserve two separate room with shower and bath, full pension
①
confirm
②
confirmation
③
Confirming
④
firm
查看完整题目与答案
【判断题】
Service passport . 意思是普通护照
①
正确
②
错误
查看完整题目与答案
【判断题】
I just spent the summer holiday working as an intern at the Safari Park. 中文意思为:今年暑假我作为一名实习生在植物园工作
①
正确
②
错误
查看完整题目与答案
【判断题】
Travel agency can provide travelers with Substantial discounts on airfares and hotel accommodations
①
正确
②
错误
查看完整题目与答案
【判断题】
Some people without experience in traveling may feel disappointment during the traveling.
①
正确
②
错误
查看完整题目与答案
【判断题】
Tour leaders are well-equipped with historical background, geography ,current affairs.
①
正确
②
错误
查看完整题目与答案
【判断题】
Please stay healthy. You can drink tap water in the hotel.
①
正确
②
错误
查看完整题目与答案
【判断题】
As an old Chinese saying says, “there is no banquet without ending”. 中文意思为:天下没有不散的筵席
①
正确
②
错误
查看完整题目与答案
【判断题】
The leader is one of the most attractive and challenging positions in the travel industry.
①
正确
②
错误
查看完整题目与答案