下面程序
#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
正确答案是D
下面程序
#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
正确答案是D