答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数:1】
若x=1,执行语句If x<>0 Then x = 0 Else x = 1的结果是( )。
①
实时错误
②
编译错误
③
x=1
④
x=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
②
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
查看完整题目与答案
【单选题】
执行下面程序后,运行结果是 #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
查看完整题目与答案
【单选题】
若有说明语句:int x[3][4];则以下关于x、*x、x[0]、&x[0][0]的正确描述是()。
①
x、*[x]、x[0]和x[0][0]均表示元素x[0][0]的地址
②
只有x、x[0]和x[0][0]表示的是元素x[0][0]的地址
③
只有x[0]和x[0][0]表示的是元素x[0][0]的地址
④
只有x[0][0]表示的是元素x[0][0]的地址
查看完整题目与答案
【单选题】
minZ=x1-x2,2x1+x2≥1,x1+4x2≤4,x1,x2=0或1,最优解是()。
①
(0,0)
②
(0,1)
③
(1,0)
④
(1,1)
查看完整题目与答案
【单选题】
写出下面程序的执行结果。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
查看完整题目与答案
【简答题】
以下程序输出的结果是[填空1]。#include stdio.hvoid main(){ int x, i;for(i=1; i i++){ x=i;if(++x%2==0)if(++x%3==0)if(++x%7==0)printf(%d\n,x);}printf(“\n”);}
查看完整题目与答案
随机题目
【单选题】
3. He admits that playing computer games sometimes____ him ____his study.
①
distracts--from
②
attracts--from
③
distracts--to
④
attracts--to
查看完整题目与答案
【单选题】
It was in the school library ____ I came across John.
①
that
②
which
③
where
④
how
查看完整题目与答案
【单选题】
It was in 1969 ____ the American astronauts succeeded in landing on the moon.
①
when
②
the moment
③
which
④
that
查看完整题目与答案
【单选题】
Although the weather was very bad, the buses still ran on ____.
①
time
②
plan
③
schedule
④
arrangement
查看完整题目与答案
【单选题】
At the end of every term a schoolmaster____ on each of his pupils.
①
tells
②
reports
③
says
④
discusses
查看完整题目与答案
【单选题】
12. Could you tell us____ her aunt will stay here?
①
that
②
what
③
how long
④
where
查看完整题目与答案
【单选题】
The mere fact ____ most people believe nuclear war would be madness does not mean that it will not occur.
①
what
②
which
③
that
④
why
查看完整题目与答案
【单选题】
Why he did it will remain a ____for ever.
①
strange
②
pass
③
public
④
puzzle
查看完整题目与答案
【单选题】
The subject was so ____ that Tom became very ____ in it.
①
interesting, interesting
②
interested, interested
③
interested, interesting
④
interesting, interested
查看完整题目与答案
【单选题】
I’11 send you my address ____ I find somewhere to live. ?
①
although ?
②
as ?
③
while ?
④
once ?
查看完整题目与答案