有如下程序:#include<stdio.h> voi

有如下程序:

#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〈回车〉,则程序的输出成果是( )

答案
C

题目信息

题号:1277
题型:单选题
难度:普通