#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <pthread.h>
#include <semaphore.h>
#include <unistd.h>
#include <signal.h>
#include <string.h>
int main()
{
char data[] = "hello";
// strcat char* strcat (char*, const char*);
char* plinkout = strcat(data,"world111111"); // 第一个参数 不能是常量
printf("%s\n",plinkout); // 返回值
for(;;);
return 0;
}

原文:https://www.cnblogs.com/nowroot/p/13662758.html