考试
1970-01-01 08:00:00

对下述程序的判断中,正确的是(). #include vo

题目描述

对下述程序的判断中,正确的是(). #include void main() { char *p,s[256]; p=s; while(strcmp(s,"the end")) {printf("Input the string:"); gets(s); while(*p) putchar(*p++);}}

答案解析

此程序循环接收字符串并输出,直到接收到字符串"the end"为止

加载中...
AI正在思考中,请稍候...