1 2 3 4

C语言之strcat函数

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main()
{
char str1[] = "安徽粮食";
char str2[] = "工程职业学院";
strcat(str1, str2); // hello world
printf("%s\n", str1);


system("pause");
return 0;
}

posted on 2020-12-10 22:47  三日坊主i  阅读(237)  评论(0)    收藏  举报

导航