main()
{char b[]="Hello,you";
b[5]=0;
printf("%s/n",B);
}
[单选题]下面程序的输出结果是()。char b[]="ABCD";main(){char b[30];strcpy(&b[0],"GH");strcpy(&am下面程序的输出结果是[ ]。char b[]="ABCD";main(){char b[30];strcpy(&b[0],"GH");strcpy(&b[1],"GH");strcpy(&b[2],"GH");printf("%s/n",b);}
[单选题]下列程序的输出结果是includevoid main(){char*str="12123434";int x1=0,x2=0,x3=0下列程序的输出结果是 #include<iostream.h> void main() {char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!='/0';i++) switch(str[i]) {case'1':x4++; case'2':X3++; case'3':
[单选题]下列程序的输出结果是includevoid main(){char*str="12123434"; int x1=0,x2=0,x3=下列程序的输出结果是 #include<iostream.h> void main() { char*str="12123434"; int x1=0,x2=0,x3=0,x4=0,i; for(i=0;str[i]!=‘/0’;i++) switch(str[i]) { case'l':x4++; case'2':X3++; case'3':
[单选题]下面程序的输出结果是 ( ) char b[]="ABCD"; main() { char * chp; for ( chp=b; * chp;chp + =2 )printf("%s",chp); print{("/n"); }A.ABABCDB.ABCDABC.ABCDDD.ABCDCD
[单选题]下列程序的输出结果是( )。 point(char*pt); main() { char b[4]{'a','c','s','f'},*pt=b; pt=point(pt); printf("%c/n",*pt); } point(char*p) { p+=3; return p; }A.sB.cC.fD.a
[单选题]下列程序的输出结果是( )。point(char*pt);main(){ char b[4]={'a', 'c' ,'s' ,'f'},*pt=b; pt=point(pt); printf('%c/n",*pt);}point(char*p){ p+=3; return p;}A.sB.cC.fD.a
[单选题]下列程序的输出结果是()。 include main() {char a[]={'a','b','c','d','e','f','/0'};下列程序的输出结果是( )。#include<stdio.h>main(){ char a[]={'a','b','c','d','e','f','/0'};int i,j;i=sizeof(A) ;j=strlen(A) ;printf("%d,%d",i,j);}A.7,7B.7,6C.6,6D
[单选题]下列程序的输出结果是()。 include main() { char a[]= {'a','b','c','d','e','f,'/0'}下列程序的输出结果是( )。 #include<stdio.h> main() { char a[]= {'a','b','c','d','e','f,'/0'}; int i,j; i=sizeof(a); j=strlen(a); printf("%d,%d",i,j); }A.7,7B.7,6C.
[单选题]下列程序段的输出结果是 String MyStr = "Hello,"; MyStr = MyStr + "World!"; System.out.println(MyStr);A.Hello,World!B.Hello,C.World!D.该程序段有语法错误
[单选题]下列程序段的输出结果是 ( ) String MyStr="Hello,"; MyStr=MyStr+"World!"; System.out.println(MyStr);A.Hello,World!B.Hello.C.World!D.该程序段有语法错误