答案查看网,轻松搜题/搜资源
登录
×
登录账号
记住密码
立即注册
忘记密码
×
注册
使用微信扫描二维码,获取账号密码后免费查看答案
前往登录
忘记密码
×
忘记密码
使用微信扫描下方二维码,即可找回您的账号密码
前往登录
立即注册
搜题/搜资源
【单选题】【消耗次数: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
查看完整题目与答案
随机题目
【单选题】
一台变单相压器在高压边做空载实验求得的励磁参数和在低压边做空载实验求得的参数应()。假设<imgwidth="230"height="60"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD36321.png">.
①
大<imgwidth="50"height="54"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD36433.png">倍
②
小<imgwidth="50"height="54"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD36556.png">
③
一样大
查看完整题目与答案
【单选题】
一台三相6极电动机,每极每相槽数q=3,则定子总槽数Z1和极距<imgwidth="35"height="38"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD38712.png">分别为()
①
<imgwidth="328"height="59"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD38829.png">
②
<imgwidth="328"height="59"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD38940.png">
③
<imgwidth="328"height="59"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD39052.png">
查看完整题目与答案
【单选题】
关于他励直流发电机功率关系说法正确的是:()。
①
<imgwidth="235"height="60"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD12038.png">
②
<imgwidth="215"height="60"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD12148.png">
③
<imgwidth="247"height="60"src="http://wljy.whut.edu.cn:80/uploadfiles/word/DJYTD.files/DJYTD12260.png">
查看完整题目与答案
【单选题】
中性点不接地系统发生单相金属性接地故障,中性点对地电位升高为()
①
相电压
②
线电压
③
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121094320_686.png"alt=""/>倍的相电压
④
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121092420_760.png"alt=""/>倍的线电压
查看完整题目与答案
【单选题】
简单系统静态稳定判据为()。
①
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191203/20191203164016_691.png"alt=""/>
②
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191203/20191203165954_984.png"alt=""/>
③
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191203/20191203164803_733.png"alt=""/>
④
都不对
查看完整题目与答案
【单选题】
用功率和阻抗表示的电压降落纵分量的表达式为()
①
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191203/20191203165528_747.png"alt=""/>
②
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121091121_256.png"alt=""/>
③
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191203/20191203163709_881.png"alt=""/>
④
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191203/20191203164836_949.png"alt=""/>
查看完整题目与答案
【单选题】
在电力系统潮流计算中,PV节点的待求量是()
①
Q、<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191205/20191205080031_752.png"alt=""/>
②
P、Q
③
V、<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191205/20191205080043_336.png"alt=""/>
④
P、V
查看完整题目与答案
【单选题】
同步发电机直轴电抗<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121093404_378.png"alt=""/>三者之间的大小关系为()。
①
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121095321_129.png"alt=""/>
②
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121095408_167.png"alt=""/>
③
<imgsrc="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191121/20191121095350_584.png"alt=""/>
查看完整题目与答案
【单选题】
E″之间的大小关系为()
①
<imgalt=""src="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191205/20191205085239_210.png"/>E′E″
②
<imgalt=""src="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191205/20191205083340_821.png"/>E′E″
③
<imgalt=""src="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191205/20191205084116_796.png"/>E′E″
④
<imgalt=""src="http://wljy.whut.edu.cn:80/uploadfiles/kindeditorAttached/image/20191205/20191205084158_908.png"/>E′E″
查看完整题目与答案
【单选题】
系统在<imgwidth="56"height="24"src="http://wljy.whut.edu.cn//uploadfiles/word/zdkzll002.files/image003.png">作用下的稳态误差<imgwidth="52"height="24"src="http://wljy.whut.edu.cn//uploadfiles/word/zdkzll002.files/image004.png">,说明()
①
型别<imgwidth="38"height="20"src="../uploadfiles/word/zdkzll002.files/image005.png">;
②
系统不稳定;
③
输入幅值过大;
④
闭环传递函数中有一个积分环节。
查看完整题目与答案