【单选题】【消耗次数: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
随机题目
【判断题】 色彩是独立的形式美因素,它并不蕴涵人的观念。
①  正确
②  错误
【判断题】 综合艺术与其它所有艺术的艺术形象都具有感性直观的特点。
①  正确
②  错误
【多选题】 艺术符号的三种基本形态是( )。
①  语言符号
②  自然符号
③  人工符号
④  数据符号
【多选题】 形式美教育的特征,主要包括以下哪三个方面( )?
①  普遍宜人性
②  符号直觉性
③  内涵探索性
④  形式仿效性
【多选题】 语言修辞性包括( )。
①  语句美
②  语音美
③  文法美
④  辞格美
【多选题】 艺术符号具有以下哪些特性( )。
①  表意性
②  表情性
③  蕴藉性
④  交流性
【多选题】 多样统一作为形式美的组合规律之一,其两种基本形态是( )。
①  调和
②  和谐
③  对比
④  对立
【单选题】 古典艺术大多恪守形式美的法则,使艺术作品多呈献出( )的形态。
①  和谐
②  破碎
③  扭曲
④  怪诞
【单选题】 ( )是把似乎无限的意味隐含或蕴蓄在有限的语言中,真实的意义被字面意义有所掩隐,使读者从有限中体味无限。
①  含混
②  含蓄
③  复义
④  多义
【单选题】 形式美的产生依赖于人在符号实践中形成的( )。
①  审美感
②  形式感
③  想象力
④  创造力