A.Political.
B.Social.
C.Religious.
D.International.
第1题
(39)有以下程序
#include <stdio.h>
main()
{ unsigned char a=8,c;
c=a>>3;
printf("%d\n",c);
}
程序运行后的输出结果是
A)32
B)16
C)1
D)0
第2题
#include
main()
{ unsigned char a=8,c;
c=a$amp;>amp;$gt;3;
printf("%d\n",c);
}
程序运行后的输出结果是
A)32
B)16
C)1
D)0
第3题
运行结果如下:
AAAbBB
BB
CCC
程序如下:
include<iostream.h>
void main()
{
char ch[3][4]={"AAA","BB","CCC"},(*q)[4]=ch,*p;
int i;
___________
*p=&39;b&39;;
___________
for(i=0;i<3;i++)
{
cout<<q[i]<<endl;
}
}
第4题
A.35
B.37
C.39
D.3975
第5题
A.35
B.37
C.39
D.28
第6题
A.35
B.37
C.39
D.3975
第7题
A.程序出错,default位置不对
B.程序出错,case表达式必须是int类型,不能使用char类型
C.程序正确,屏幕显示输出字符a
D.程序正确,屏幕出无显示输
第8题
下面各程序段中,()能在一行中输出五个&39;*&39;
A.I:=0;
repeat
write(&39;*&39;);
I:=I+1
until I=5
B.I:=0;
repleat
write(&39;*&39;)
until I=5
C.I:=0;
repeat
write(&39;*&39;);
I:=I-1
until I=5
D.I:=0;
repeat
writeln(&39;*&39;)
I:=I+2
until I=5
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!