题目
A.0
B.5
C.7
D.20
第1题
A.12a34b
B.12_a_34_b
C.12,a,34,b
D.12_a34_b
第2题
第3题
有以下程序
#include
main()
{
int y=9 ;
for(; y>0 ; y--)
if(y%3==0 ) printf("%d" , --y) ;}
程序的运行结果是_____
第4题
有以下程序
#include
main
{int y=9;
for(;y>0;y--)
if(y%3==0)printf("%d",--y);
} 程序的运行结果是()。
A.741
B.963
C.852
D.875421
第5题
A.9
B.6
C.11
D.7
第6题
有以下程序
#include
main ()
{ int a=1,b=2,c=3,x;
x=(a^b)&c;
printf("%d",x); }
程序的运行结果是()。
A.0
B.1
C.2
D.3
第7题
有以下程序
#include
main()
{char p[20]={‘a’,’b’,’c’,’d’},q[]=”abc”, r[]=”abcde”
strcat(p,r); Strcpy(p+strlen(q),q);
Printf(“%d \n”,sizeof(p));
}
程序运行后的输出结果是()。
A.9
B.6
C.11
D.7
第8题
第9题
有以下程序:
#include
main
{ int i=0,a=0;
while(i<20)
{ for(;;)
{ if((i%10)==0) break;
else i--;}
i+=11;
+=i;}
printf("%d\n",a);}
程序的输出结果是()。
A.62
B.63
C.33
D.32
第10题
有以下程序
include
main()
{int X;
scanf(”%d”,&x); ,
if(x2>15)printf(“%d”,x一5);
if(x>10)printf(“%d”,x);
if(x>5)printf(“%d\n”,X+5);
}
若程序运行时从键盘输入12<回车>,则输出结果为 。
为了保护您的账号安全,请在“赏学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!