char * strcat ( char * destination, const char * source ); Concatenate strings Appends a copy of the source string to the destination string. The terminating null character in destination is overwritten by the first character of source, and a null-character is included at the end of the new string formed by the concatenation of both in destination. destination and source shall not overlap.
#include <iostream>
#include <string>
using namespace std;
int main() {
char str1[30] = "Hello ";
char str2[] = "world!";
cout << strcat(str1, str2) << endl; // Hello world!
}