下列程序的输出结果是【 】。 #include<iostream. h>   #include<string. h> void main() { char b[30]; strcpy(&b[0], "XY")

admin2013-05-30  15

问题 下列程序的输出结果是【  】。
   #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

解析
转载请注明原文地址:https://kaotiyun.com/show/t1Np777K
0

最新回复(0)