【单选题】【消耗次数:1】
下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
5,0,3
4,5,6
5,1,3
3,4,6
参考答案:
复制
纠错
相关题目
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=4,b=3,c=5,t=0; if(aa=b;b=t; if(aa=c;c=t; printf(%d,%d,%d\n,a,b,c); }
①  5,1,3
②  4,5,6
③  5,0,3
④  3,4,7
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=1,b=2,c=3; if(c=a)printf(%d\n else printf(%d\n }
①  1
②  3
③  5
④  6
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  0
②  1
③  2
④  3
【单选题】 下述程序的运行结果( )。 #includevoid main() { int a=5,b=4,c=3,d=2; if(ac)printf(%d\n else if((c-1=d)==1)printf(%d\n,d+1); else printf(%d\n,d+2); }
①  1
②  2
③  3
④  4
【单选题】 下列程序执行后的输出结果是 #includevoid main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 下列程序执行后的输出结果是________. #include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b;printf(%d*%d=%d\n,b,a,c);} else {c=b/a;printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 下列程序执行后的输出结果是_______.#include stdio.h void main( ) { int a=5,b=60,c; if (ab) {c=a*b; printf(%d*%d=%d\n,b,a,c);} else {c=b/a; printf(%d/%d=%d\n,b,a,c);} }
①  60/5=12
②  300
③  60*5=300
④  12
【单选题】 有如下程序: #includevoid main( ) { int a=2,b=-1,c=2; if (ab) if (b0) c=0; else c++; printf(%d\n } 该程序的输出结果是
①  0
②  1
③  2
④  3
【单选题】 请阅读以下程序: main() {int a=5,b=0,c=0; if(a=b+c) printf(***\n else printf($$$\n
①  以上程序:有语法错误不能通过编译
②  可以通过编译但不能通过连接
③  输出***
④  输出$$$
【单选题】 以下程序的运行结果是:main){intk=4,a=3,b=2,c=;printf\n%d\n,k<a?k:c<b?c:a);}
①  4
②  3
③  2
④  1
随机题目
【判断题】 单调函数的导数也是单调的。
①  正确
②  错误
【单选题】 下列比例当中表示缩小比例的是( )。
①  2:1
②  1:1
③  1:2
【单选题】 下列比例当中表示放大比例的是( )。
①  1:2
②  1:1
③  2:1
【单选题】 根据图所示AB、CD直线和P、Q平面,AB、CD直线的侧面投影应标记为( )。<img src=http://60.205.157.60/course/a@5813350423C48EBCC066EA44AE427F76.png title=2.png alt=2.png/>
①  ab、cd
②  a’b’、c’d’
③  AB、CD
④  a”b”、c”d”
【单选题】 根据图1所示AB、CD直线和P、Q平面,平面P在侧面投影面上的投影具有积聚性,因此称之为( )。<img src=http://60.205.157.60/course/a@5813350423C48EBCC066EA44AE427F76.png title=2.png alt=2.png/>
①  侧垂面
②  铅垂面
③  正垂面
④  一般位置平面
【单选题】 根据图所示AB、CD直线和P、Q平面,P、Q平面的水平投影应标记为( )。<img src=http://60.205.157.60/course/a@5813350423C48EBCC066EA44AE427F76.png title=2.png alt=2.png/>
①  P、Q
②  p、q
③  p’、q’
④  p”、q”
【判断题】 根据图所示切割体的正面投影和水平投影,切割圆柱体的平面是正垂面。<img src=http://60.205.157.60/course/a@4A86563E6B6DA06893F711ACC27EA6B8.png title=4.png alt=4.png/>
①  正确
②  错误
【判断题】 根据图所示切割体的正面投影和水平投影,圆柱体上有通孔,通孔是方形孔。<img src=http://60.205.157.60/course/a@4A86563E6B6DA06893F711ACC27EA6B8.png title=4.png alt=4.png/>
①  正确
②  错误
【判断题】 根据图所示切割体的正面投影和水平投影,用正垂面来切割圆柱体外表面,其截交线的侧面投影反映实形。<img src=http://60.205.157.60/course/a@4A86563E6B6DA06893F711ACC27EA6B8.png title=4.png alt=4.png/>
①  正确
②  错误
【判断题】 根据图所示切割体的正面投影和水平投影,用正垂面切割圆柱体内表面,其截交线的侧面投影为不完整的平行四边形。<img src=http://60.205.157.60/course/a@4A86563E6B6DA06893F711ACC27EA6B8.png title=4.png alt=4.png/>
①  正确
②  错误