哪錯(cuò)了,求大神看下。
#include<stdio.h>
#include<string.h>
int main()
{
char s1[100] = "";
char s2[] = "我愛,";
char s3[] = "慕課網(wǎng)";
strcpy(s1, s2);
strcat(s1, s3);
printf("%s\n", s1);
return 0;
}
#include<stdio.h>
#include<string.h>
int main()
{
char s1[100] = "";
char s2[] = "我愛,";
char s3[] = "慕課網(wǎng)";
strcpy(s1, s2);
strcat(s1, s3);
printf("%s\n", s1);
return 0;
}
2020-09-16
舉報(bào)
2020-09-30
沒毛病啊,可以輸出啊