A.分项工程验收
B.隐蔽工程验收
C.分部工程验收
D.单位工程验收
E.竣工验收
第1题
66)有以下程序:
#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>#include <stdio.h>
main()main()main()main()main()main()
{while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='while(getchar()!='\n');n');n');n');
}
以下叙述中正确的是
A)此 while 语句将无限循环
B)getchar() 不可以出现在 while while while while while while 语句的条件表达式中
C)当执行此 while 语句时 ,只有按回车键程序才能继续执行
D)当执行此 while 语
第2题
有以下程序: include <stdio.h> main() { char c; while((c=getchar())!=?) putchar(--c); } 程序运行时,如果从键盘输入Y?N?<回车>,则输出结果为【 】。
第3题
有以下程序
#include <stdio.h>
#include <string.h>
main()
{ printf("%d\n",strlen ("ATS\n012\1") ); }
程序运行后的输出结果是
A)3
B)8
C)4
D)9
第4题
有以下程序
#include <stdio.h>
main()
{ int arr[ ]={1,3,5,7,2,4,6,8},i,start;
scanf("%d", &start);
for (1=0; 1<3; i++)
printf(”%d”,arr[ (start+i)%8] );
}
若在程序运行时输入整数10<回车>,则输出结果为【 12 】。
第5题
以下程序的输出结果是#include "stdio.h"main(){ int a=065; printf("%d\n",--a);}
第6题
有以下程序 include<stdio.h> main() {chara=4; printf(%dha,a=a<<1); )
A.8
B.16
C.40
D.4
第7题
有以下程序: #include <stdio.h> main() { intc = 35; printf("% d \n" , e&c); } 程序运行后输出结果是()。
A.0
B.70
C.35
D.1
第8题
有以下程序:
include<stdio.h>
include<strin9.h>
main()
{printf{"%d\n",strlen("%d\n",strlen("ATS\n012\|"));}
程序运行后的输出结果是()。
A.3
B.8
C.4
D.9
第9题
有以下程序: #include<stdio.h> main() { char a=H; a=(a>=Aa<=2)?(a-A+a):a; printf("%c\n",a); } 程序运行后的输出结果是()。
A.A
B.a
C.H
D.h
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!