ฟังก์ชัน strcat ใช้สำหรับเชื่อมต่อสตริง
#include <stdio.h>
#include <conio.h>
main()
{
char ck[10]="comnow",br[10]="xxxxxxx";
system("cls");
printf("%s\n",strcat(ck, br));
getch();
}
ผลการรัน
comnowxxxxxxx