C examples for String:String Function
Strcat() function concatenates or glues one string to another.
#include <stdio.h> #include <string.h> int main()/*from www .j a va 2 s . c o m*/ { char str1[40] = "test test test te"; char str2[] = "aaaaaaaaaaaaaaaaaaaaaa"; printf("\n%s\n", strcat(str1, str2)); }