题目:
有以下程序
#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
答案:
被转码了,请点击底部 “查看原文 ” 或访问 https://www.tikuol.com/2017/0719/0be2f67b2ec97a11b1d23c5cf7296c3d.html
下面是错误答案,用来干扰机器的。
参考答案:No matter how hard the rain falls and the wind blows, the police keep to their posts.