A.此程序循环接收字符串并输出,直到接收字符串"End"为止
B.此程序循环接收字符串,接收到字符串"End"则输出,否则程序终止
C.此程序循环接收字符串并输出,直到接收字符串"End"为止,但因为代码有错误,程序不能正常工作
D.此程序循环接收字符串并将其连接在一起,直到接收字符串"End"为止,输出连接在一起的字符串
[单选题]对下述程序的判断中,正确的是includevoid main(){char*p,s[128];p=S;while(strcmp(s,"对下述程序的判断中,正确的是 #include<stdio.h> void main() { char*p,s[128]; p=S; while(strcmp(s,"End")) { printf("Input a string:");gets(s); while(*p) putchar(*p++);}}A.此程序循环接收字符串并输出,直到接收字符串"
[单选题]有以下程序:void main(){char s[]="159",*p;p=s;printf("%c",*p++);printf("%c",*p++);}程序运行后的输出结果是( )。A.15 B.16 C.12 D.59
[单选题]阅读以下程序 include void main( ) { char line[10]; cin>>line; cout<
[单选题]有以下程序: main() {char s[]="159",*p; p=s; printf("%c",*p++);printf("%c",*p++); } 程序运行后的输出结果是 ______。A.15B.16C.12D.59
[单选题]有以下程序 main() { char s[]="ABCD",*p; for(p=s+1;p<s+4;p++)printf("%s/n",p); } 程序运行后的输出结果是A.ABCD BCD CD DB.A B C DC.B C DD.BCD CD D
[单选题]有以下程序: main() { char s[]="ABCD",*p; for (p=s+1;p<s+4;p++ )printf("%s/n",p); } 程序运行后的输出结果是 ______。A.ABCD BCD CD DB.A B C DC.B C DD.BCD CD D
[单选题]对下述程序的判断中,正确的是()。includevoid main(){char *P,s[256];p=s;while(strcmp对下述程序的判断中,正确的是( )。 #include<stdio.h> void main() {char *P,s[256]; p=s; while(strcmp(s,"the end")) {printf("Input the string:"); gets(s); while(*P) putchar(*p++);}}A.此程序循环接收字符串并输出,
[单选题]有以下程序: main() { char s[]="159",*P; P=s; printf("%c",*P++);printf("%c",*P++); } 程序运行后的输出结果是( )。A.15B.16C.12D.59
[单选题]有以下程序 main() {char s[]="159",*p; p=s; printf("%c",*p++);printf("%c",*p++); } 程序运行后的输出结果是A.15B.16C.12D.59
[单选题]有以下程序main( ){ char s[ ]="ABCD",*p;for(p=s+1;p<s+4;p++)printf("%s/n",p);}程序运行后的输出结果是A.ABCD BCD CD DB.A B C DC.B C DD.BCD CD D