strcat()
Syntax:
#include <string.h>
char *strcat( char *str1, const char *str2 );
Description:
The strcat() function concatenates str2 onto the end of str1, and returns str1.
Example:
printf( "Enter your name: " );
scanf( "%s", name );
title = strcat( name, " the Great" );
printf( "Hello, %s\n", title );
Related Topics:
strchr(), strcmp(), strcpy()