【单选题】【消耗次数: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); }
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=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 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 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
【单选题】 下述程序的运行结果( )。 #includevoid main() { int n; for(n=1;nn++) { if(n%3==0)continue; printf(%d } }
①  12345678
②  124689
③  12457810
④  1234456
【单选题】 下述程序的运行结果( )。 #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
【单选题】 以下程序运行结果是( )。 Main() {int if(m++5) printf(%d\n else printf(%d\n,m--); }
①  4
②  5
③  6
④  7
随机题目
【单选题】 SP策划过程包括( )步骤。
①  5个
②  6个
③  3个
【单选题】 ( )既具有广告宣传的功能,又具有实现直接销售的有效手段。
①  营业销售推广方式
②  营业性宣传推广方式
③  营业策划推广方式
【单选题】 ( )又称“刺激→反应”策略。
①  试探性人员推销策略
②  针对性人员推销策略
③  诱导性人员推销策略
【单选题】 ( )又称无限连锁介绍推销法、连锁介绍寻找目标购买者推销法。
①  地毯式访问推销法
②  连锁介绍推销法
③  中心开花推销法
【单选题】 ( )是指品牌中可以用语言称呼的部分。
①  品名
②  品记
③  品类
【单选题】 ( )是指品牌中可以被识别,但不能用语言简介准确的说出来的部分。
①  品名
②  品记
③  品类
【单选题】 ( )是指企业对其生产和经营的产品是否采用品牌的抉择,包括采用品牌、不采用品牌两种情况。
①  品牌实施策划
②  品牌忠诚策划
③  品牌数量策划
【单选题】 ( )即企业为其产品确定采用品牌,并规定品牌名称、品牌标志,以及向政府有关部门注册登记一切业务活动。
①  无品牌化
②  品牌化
③  品牌标志化
【单选题】 ( )即行为规范系统,是指企业思想的行为化。
①  理念识别
②  行为识别
③  视觉识别
【单选题】 ( )即品牌视觉系统,是指企业识别(或品牌识别)的视觉化。
①  视觉识别
②  行为识别
③  理念识别