下面程序的输出结果是 #include<iostream.h> #include
题型:单项选择题
问题:
下面程序的输出结果是 #include<iostream.h> #include<string.h> void main() { char p1[10],P2[10];strcpy(p1,"abc"); strcpy(p2,"ABC"); char str[50]="xyz";strcpy(str+2,strcat(P1,p2)); cout<<six; }
A.xyzabcABC
B.zabcABC
C.xyabcABC
D.yzabcABC