单选题

对下述程序的判断中,正确的是(     )。

#include

main()

{ char*p,s[256];

p=s ;

while(strcmp(s,"the end"))

{ printf("Input the strin9:");

gets(s);

while(*p)

putchar(*p++);

}}

【正确答案】 C
【答案解析】