欢迎来到牛牛题库网 牛牛题库官网
logo
全部科目 > 普通考研 > 软件工程

填空题

下列程序的输出结果是 ()。
#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

点击查看答案
微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题