以下程序的输出结果是____。 #include<stdio.h> #include<string.h> main( ) { char *p1,*p2,str50]="ABCDEFG"; p1="abcd"; p2="efgh"; strcpy(str+1,p2+1); strcpy(str+3,p1+3); printf("%s",str); }
选项:
A:AfghdEFG
B:Abfhd
C:Afghd
D:Afgd
发布时间:2024-06-08 22:58:54