请读程序段: char str[]="ABCD",*p=str; printf("%d\n",*(p+4)); 程序段的输出结果是______。A.68B.0C.字符'D'的地址D.不确定的值
请读程序段: char str[]="ABCD",*p=str; printf("%d\n",*(p+4)); 程序段的输出结果是______。
A.68
B.0
C.字符'D'的地址
D.不确定的值
相关考题:
以下C程序段的输出结果是(30)。 include void abc(char *str){ int a, b; 以下C程序段的输出结果是(30)。 #include <stdio. h> void abc(char *str){ int a, b; for(a=b=0;str[a]!='\O';a++)if(str[a]!='c') str[b++]=str[a]; str[b]='\O'; } void main(){ char str[]="abcdef"; abc(str); printf("str[]=%s",str); }A.str[]=aB.str[]=abC.str[]=abdefD.str[]=abcdef
请读程序段: char str[]="ABCD",*p=str; printf("%d\n",*(p+4)); 程序段的输出结果,是_______。A.68B.0C.字符'D'的地址D.不确定的值
下列程序的输出结果是( ) main() {char*p1,*p2,str[50]="xyz"; p1="abcd"; p2="ABCD"; strcpy(str+2,strcat(p1+2,p2+1)); printf("%s",str); }A.xyabcABB.abcABzC.AbabczD.XycdBCD
下列程序的输出结果是( )。 char *p1="abcd", *p2="ABCD", str[50]="xyz"; strcpy(str+2,strcat(p1+2,p2+1)); printf("%s",str);A.xyabcABB.abcABzC.ABabczD.xycdBCD
请读程序段: char str[]="ABCD",*p=str, printf("%d\n",*(p+4)); 程序段的输出结果是______。A.68B.0C.字符'D'的地址D.不确定的值
下列程序的输出结果是 main() { char *p2,str[50]="NEU"; char p1[10]="abcd"; p2="ABCD"; strcpy(str+2,strcat(p1+2,p2+1)); printf("%s",str); }A.NEabcdB.NEcdBCDC.NEUbcdD.NEUabcd
以下程序段执行后输出的结果是()。 char str[]="ABCD",*p=str; printf("%dn",*(p+4));A.不确定的值B.字符'D'的地址C.68D.0