A.4
B.5
C.6
D.7
[单选题]下列程序的输出结果是______。 char*fun(char*str,int n) { int i; char*p=str; for(i=0;i<10;i++,str++) *str='a'+i; return++p; } main() { char a[10]; printf("%s/n",fun(a,10)); }A.ABCDEFGHIJB.abcdefghijC.bcdefghijD.不确定的值
[单选题]以下程序的输出结果是( )。main{char str[]1-10]={"china","beijing"),*p=str;printf("%s\n",p+10);}A.ChinaB.BeijingC.ngD.ing
[单选题]下面程序段的运行结果是 char str[]="ABC",*p=str; printf("%d/n",*(p+3));A.67B.0C.字符'C'的地址D.字符'C'
[单选题]下面程序段的运行结果是char str[]="ABC",*p=str;printf("%d/n",*(p+3));A.67B.0C.字符′C′的地址D.字符′C′
[单选题]下面程序段的运行结果是char str[]="ABC",*p=str;printf("%d/n",*(p+3));A.67B.0C.字符′C′的地址D.字符′C′
[单选题]下面程序段的运行结果是 char str[]="ABC",*p=str; printf("%d/n",*(p+3));A.67B.0C.字符'C'的地址D.字符'C'
[单选题]下面程序段的运行结果是char str[]="ABC",*p=str;printf("%d\n",*(p+3));A.67 B.0 C.字符’C’的地址 D.字符’C’
[单选题]下面程序段的运行结果是 char str[]="ABC",*p=str; printf("%d/n",*(p+3));A.67B.0C.字符'C'的地址D.字符'C'
[单选题]下列程序的输出结果是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':