下列程序的输出结果是( )。 #include <string.h> void main( ) { char *p1, *p2, str50]="xyz"; p1="abcd"; p2="ABCD"; strcpy(str+2, strcat(p1+2, p2+1)); printf("%s", str); }
选项:
A:xyabcAB
B:abcABz
C:ABabcz
D:xycdBCD
发布时间:2024-06-08 22:58:54