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
[单选题]有以下程序: 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
[单选题]下列程序的输出结果为 include void main( ) { char * a[ ] ={"hello},"the"," wo下列程序的输出结果为#include<iostream.h>void main( ){char * a[ ] ={"hello},"the"," world"};char * * pa=a;pa++;cout < < * pa < < endl;}A.helloB.theC.worldD.hellotheworld
[单选题]下面程序的运行结果为 include void main( ) {char a='3'; switch(a) { case'3':下面程序的运行结果为#include<iostream.h>void main( ){char a='3';switch(a){case'3':cout < <"3";case'2':cout < < "2";break;default:cout < <"1";}}A.3B.321C.31D.32