C Programming Code Examples C > Strings Code Examples C Program to Concat Two Strings with using Library Function C Program to Concat Two Strings with using Library Function Copy "str1" into "str3". Then Concat "str2" to "str3" , after concating result will be stored in "str3" strcat,strcpy functions are included in Header File : string.h #include<stdio.h> #include<string.h> int main() { char str1[88]; char str2[88]; char str3[88]; int len; printf("\nEnter the String 1 : "); gets(str1); printf("\nEnter the String 2 : "); gets(str2); strcpy(str3, str1); strcat(str3, str2); printf("\nConcated String : %s", str3); return (0); }