以下程序运行后的输出结果是【】include<stdio.h> main () {char a[] ="123456789", *p;int i =0;
以下程序运行后的输出结果是【 】
include <stdio.h>
main ()
{ char a[] ="123456789", *p;
int i =0;
p=a;
while(* p)
{ if(i%2 ==0) *p='*';
p++;i++;
}
puts(a);
}
以下程序运行后的输出结果是【 】
include <stdio.h>
main ()
{ char a[] ="123456789", *p;
int i =0;
p=a;
while(* p)
{ if(i%2 ==0) *p='*';
p++;i++;
}
puts(a);
}
第1题
试题7
以下程序运行后的输出结果是______。
#include <stdio.h>
main()
{ int a=37; a%=9; printf(“%d\n”, a); }
第2题
以下程序运行后的输出结果是 【 】。
include
main()
{ int x=20;
prinff(“%d”,0
prinff(“%d\n”,0
第3题
试题10
以下程序运行后的输出结果是______.
#include <stdio.h>
main()
{char a;
for(a=0; a<15; a+=5)
{putchar(a+’A’);}
printf(“\n”);
}
第4题
有以下程序:
#include
程序运行后的输出结果是()。
A)26
B)19
C)10
D)20
第5题
以下程序运行后的输出结果是【 】。 include <stdio.h> main () { iht x=0210; printf("%x \n" ,x); }
第6题
有以下程序:
#include
程序运行后的输出结果是()。
A)26
B)19
C)10
D)20
第8题
以下程序运行后的输出结果是【 】。 include <stdio.h> main() { char m; m=B+32; printf("%c\n",m); }
第9题
(6)以下程序运行后的输出结果是 【6】 。
#include <stdio.h>
main()
{ int a;
a=(int)((double)(3/2)+0.5+(int)1.99*2);
printf("%d\n",a);
}
第10题
以下程序运行后的输出结果是_______。
include<stdio.h>
main()
{int a=200,b=010;
print(”%d%d\n”,a,b);
}
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!