【单选题】【消耗次数:1】
下述程序的运行结果( )。 #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=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=1,b=2,c=3; if(c=a)printf(%d\n else printf(%d\n }
①  1
②  3
③  5
④  6
【单选题】 下述程序的运行结果( )。 #includevoid main() { int p,a=0; if(p=a!=0)printf(%d\n else printf(%d\n,p+2); }
①  1
②  2
③  3
④  5
【单选题】 下列程序执行后的输出结果是 #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
【单选题】 下述程序的运行结果( )。 #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=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 x=1,a=0,b=0; switch(x) { case 0:b++; case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); } case 1:a++; case 2:a++;b++; } printf(a=%d,b=%d\n,a,b); }
①  a=1,b=1
②  a=2 ,b=1
③  a=2,b=2
④  a=3,b=3
【单选题】 下述程序的运行结果( )。 #includevoid main() { int n; for(n=1;nn++) { if(n%3==0)continue; printf(%d } }
①  12345678
②  124689
③  12457810
④  1234456
【单选题】 以下程序运行结果是( )。 Main() {int if(m++5) printf(%d\n else printf(%d\n,m--); }
①  4
②  5
③  6
④  7
【单选题】 有如下程序: #includevoid main( ) { int a=2,b=-1,c=2; if (ab) if (b0) c=0; else c++; printf(%d\n } 该程序的输出结果是
①  0
②  1
③  2
④  3
随机题目
【单选题】 治疗强心苷所致窦缓和房室传导阻滞最佳的药物是( )
①  肾上腺素
②  异丙肾上腺素
③  多巴胺
④  阿托品
⑤  麻黄碱
【单选题】 治疗急性心梗所致心律失常的首选药物是( )
①  奎尼丁
②  美托洛尔
③  利多卡因
④  胺碘酮
⑤  维拉帕米
【单选题】 下述不属于奎尼丁引起的金鸡钠反应的是( )
①  头痛
②  恶心、呕吐
③  血压升高
④  耳鸣
⑤  视力、听力减退
【单选题】 下列药物可用于预防支气管哮喘的是
①  肾上腺素
②  异丙肾上腺素
③  麻黄碱
④  阿托品
⑤  普萘洛尔
【单选题】 既可用于支气管哮喘又可用于心源性哮喘的药物是
①  特布他林
②  异丙肾上腺素
③  麻黄碱
④  色甘酸钠
⑤  氨茶碱
【单选题】 长期治疗持续性哮喘的首选药物是
①  肾上腺素
②  吸入型激素(如丙酸氯地米松)
③  麻黄碱
④  色甘酸钠
⑤  氨茶碱
【单选题】 沙丁胺醇、特布他林为
①  α-受体激动药
②  β\sub1\nosupersub-受体激动药
③  β\sub2\nosupersub-受体激动药
④  H\sub1\nosupersub受体激动药
⑤  N\sub1\nosupersub受体
【单选题】 为缓解轻、中度哮喘症状的首选药物,亦预防运动性哮喘的药物是
①  沙丁胺醇、特布他林
②  异丙肾上腺素
③  麻黄碱
④  色甘酸钠
⑤  氨茶碱
【单选题】 苯佐那酯的镇咳机制是
①  直接抑制咳嗽中枢
②  吗啡样作用
③  收缩支气管平滑肌
④  M受体阻断作用
⑤  局麻作用,抑制肺牵张感受器,阻断咳嗽反射
【单选题】 对剧烈的刺激性干咳伴有胸痛者尤为适用的镇咳药是
①  可待因
②  喷托维林
③  福尔可定
④  右美沙芬
⑤  苯丙哌林