赞题库-背景图
单项选择题

有以下程序
#include <stdio.h>
void fun(char *c)
{
while(*c)
{
if(*c>="a" && *c<="z")
*c=*c-("a"-"A");
c++;
}
}
main()
{
char s[81];
gets(s);
fun(s);
puts(s);
}
当执行程序时从键盘上输入Hello Beijing<回车>,则程序的输出结果是______。

A.HELLO BEIJING
B.Hello Beijing
C.hello beijing
D.hELLO Beijing