填空題

下列程序的輸出結(jié)果是 ()。
#include 
#include   main( )
{
   int i=0;
   char str1[10]=“1234”, str2[10]= “567”;
   strcat(str1,str2);
   while(str2[i++]!=‘\0’)
    str2[i]=str1[i];
   puts(str2); 
 }

答案: 5234567
題目列表

你可能感興趣的試題

填空題

下列程序的輸出結(jié)果是()

答案: x=2,y=8
微信掃碼免費(fèi)搜題