问题
填空题
下列程序的输出结果是______。
#include<iostream.h>
#include<string.h>
void main()
char b[30];
strcpy(&b[0],"XY");
strcpy(&b[1],"YZW");
strcpy(&b[2],"ZXY");
cout<<b<<end1;
答案
参考答案:XYZXY
下列程序的输出结果是______。
#include<iostream.h>
#include<string.h>
void main()
char b[30];
strcpy(&b[0],"XY");
strcpy(&b[1],"YZW");
strcpy(&b[2],"ZXY");
cout<<b<<end1;
参考答案:XYZXY