下面程序# include<stdio.h> # include<string.h>main(){char * p1="abc",* p2="ABC",str[50]="xyz";strcpy(str+2,strcat(p1,p2));printf("%s\n",str);}输出结果是( )
A.xyzabcABC
B.zabcABC
C.yzabcABC
D.xyabcABC
出自:国家开放大学程序设计基础