【单选题】【消耗次数:1】
下述程序的运行结果( )。 #includevoid main() { int n; for(n=1;nn++) { if(n%3==0)continue; printf(%d } }
12345678
124689
12457810
1234456
参考答案:
复制
纠错
相关题目
【单选题】 下述程序的运行结果( )。 #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() { char ch; int i=0; for(ch=achzch++) { printf(%c ,ch); if(i%10==0) printf(\n } printf(\n }
①  a b c d e f g h i j k l m n o p q r s t u v w x y z
②  a b c d e f g h i j k l m n o p q r s t u v w x y z
③  a b c d e f g h i j k l m n o p q r s t u v w x y z
④  a b c d e f g h i j k l m n o p q r s t u v w x y z
【单选题】 下述程序的运行结果( )。 #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 n=4; while(n--) printf(%d\n,--n); }
①  2 0
②  1 0
③  2 1
④  3 0
【单选题】 下述程序的运行结果( )。 #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); }
①  a=2,b=1
②  a=1,b=2
③  a=0,b=1
④  a=1,b=0
【单选题】 下述程序的运行结果( )。 #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
随机题目
【单选题】 学前阶段是儿童生长发育的重要时期,()对儿童身体.大脑的发育有着及其重要的作用。
①  充足的游戏
②  充足的睡眠
③  充足的活动
④  充足的阳光
【单选题】 ()是由儿童自由控制.自由安排的活动。
①  入园
②  离园
③  散步
④  自由活动
【单选题】 无论是室外还是室内环境的创设,教师都要从()出发。
①  园长的要求
②  家长的要求
③  儿童的兴趣爱好
④  自身的兴趣
【单选题】 亲子活动的目标应指向转变家长教育观念,提升科学育儿水平.改进亲子互动方式,最终落脚到()。
①  发展儿童智力
②  发展儿童认知
③  促进幼儿身心健康
④  发展家长能力
【多选题】 学前教育对经济发展的作用有()。
①  培养幼儿
②  服务家长
③  创新科技
④  传播文化
【单选题】 在古代社会,儿童被看成()。
①  小型成人
②  发展的个体
③  家庭所属的个体
④  独立的个体
【多选题】 以下表述正确的是()。
①  学前教育对经济的发展无法产生任何影响
②  经济的发展促进社会学前教育机构的产生
③  经济发展直接影响到学前教育所能获得的财力和人力
④  科学的学前教育有利于开发婴幼儿的学习潜能
【多选题】 对学前儿童发展产生影响的社会因素主要包括()。
①  遗传
②  家庭
③  环境
④  教育
【单选题】 儿童通过()获得人的机体的生理解剖结构及特点。
①  成熟
②  发展
③  遗传
④  教育
【单选题】 文艺复兴时期,儿童被看成()。
①  小型成人
②  发展的个体
③  家庭所属的个体
④  独立的个体