请读程序段: char str[]="ABCD",*p=str; printf("%d\n",*(p+4)); 程序段的输出结果,是_______。
A.68
B.0
C.字符'D'的地址
D.不确定的值
第1题:
下列程序的输出结果是( )。 char *p1="abcd", *p2="ABCD", str[50]="xyz"; strcpy(str+2,strcat(p1+2,p2+1)); printf("%s",str);
A.xyabcAB
B.abcABz
C.ABabcz
D.xycdBCD
第2题:
下列程序的输出结果是 main() { char *p2,str[50]="NEU"; char p1[10]="abcd"; p2="ABCD"; strcpy(str+2,strcat(p1+2,p2+1)); printf("%s",str); }
A.NEabcd
B.NEcdBCD
C.NEUbcd
D.NEUabcd
第3题:
执行以下程序段后,输出结果为()。 char p[]="def",str[20]="abc"; strcpy(str+1,p); printf("%sn",str);
A.abcdef
B.adef
C.abc
D.def
第4题:
请读程序段: char str[]="ABCD",*p=str, printf("%d\n",*(p+4)); 程序段的输出结果是______。
A.68
B.0
C.字符'D'的地址
D.不确定的值
第5题:
以下程序段执行后输出的结果是()。 char str[]="ABCD",*p=str; printf("%dn",*(p+4));
A.不确定的值
B.字符'D'的地址
C.68
D.0