【B5】______
A.domains
B.settings
C.scopes
D.environments
A.domains
B.settings
C.scopes
D.environments
第1题
有以下程序main(){ char str[]="xyz",*ps=str; while(*ps) ps++; for(ps--; ps-str>=0; ps--) puts(ps);} 程序的运行结果是A.yz B.z C.z D.x xyz yz yz xy xyz xyz
第2题
有以下程序 main() { char str[ ]="xyz",*ps=str; while(*ps) ps++; for(ps--;ps-str>=0;ps--) puts(ps);} 执行后输出结果是
A.yz xyz
B.z yz
C.z yz xyz
D.x xy xyz
第3题
有以下程序: main() { char str[]="xyz", *ps=str; while(*ps) ps++; for(ps--;ps-str>=O;ps--) puts(ps); } 执行后的输出结果是()。
A.yz xyz
B.z yz
C.z yz xyz
D.x xy xyz
第4题
有以下程序 main () { char str[] ="xyz", *ps=str; while (*ps) ps++: for (ps-- ;ps-str>=0 ;ps--) puts(ps); } 执行后输出结果是
A.yz xyz
B.z yz
C.z yz xyz
D.x xy xyz
第5题
有以下程序 main() { char atr[]="xyz",*ps=str; while(*ps)ps++; for(ps--;ps-str>=0;ps--) puts(ps); } 执行后输出结果是
A.yz xyz
B.x yz
C.z yz xyz
D.x xy xyz
第7题
A.char str[]="hello" ;
B.char str[30]; strcpy(str, "hello");
C.char str[30];str="hello";
D.char str[30],*ps=str; strcpy(ps,"hello");
第8题
以下程序 #include<stdio.h> #include<string.h> main() { char*p1="abc",*p2="ABC",str[50]="xyz"; strcpy(str+2,strcat(p1,p2)); printf("%ss\n",str); } 的输出是______。
A.xyzabcABC
B.zabcABC
C.yzbcABC
D.xyabcABC
第9题
以下程序 #include<stdio.h> #include<string.h> main() { char*pl="abc",*p2="ABC",str[50]="xyz"; strcpy(str+2,strcat(p1,p2)); printf("%s\n",str); } 的输出是________。
A.xyzabcABC
B.zabcABC
C.yzabcABC
D.xyabcABC
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!