题目内容
将下面一段程序补充完整函数功能:将两个字符串进行连接起来。#include int main(){ char s1[80],s2[40];int i=0,j=0;printf("input string1:");scanf("_______________",s1);//输入s1字符串printf("input string2:");scanf("%s",s2);while (______________)//判断s1字符串长度_____________;while(s2[j]!='\0')s1[i++]=s2[j++];s1[i]=______________;printf("\nThe new string is:%s\n",s1);return 0;}
查看答案
搜索结果不匹配?点我反馈