The lstrcat (alias strcat) function appends one string to another.
LPSTR lstrcat( LPSTR lpString1, LPCSTR lpString2 )
If the function succeeds, the return value is a pointer to the modified string. If the function fails, the return value is NULL.
char *ptr = NULL;
char szStr = "This is the first part. ";
string str1 = "This is the second part.";
ptr = lstrcat(szStr, str1);
if(0 == strcmp(ptr, "This is the first part. This is the second part."))
printf("the string after the concatenation is \"%s\" \n" , szStr);
printf("concatenation failed \n");