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