#include <stdio.h>
#include<string.h>
int main()
{
char a[100]="123456";
char b[]="hhhh";
strcat(a,b);
printf("%s",a);//当时我打成了%c,不对,应该打成%s
return 0;
}
C语言编程题 27.编程实现两个字符串连接
最新推荐文章于 2022-04-26 18:51:01 发布