This function concatenates the source string at the end of the target string.
\* C Program to demonstrate strcpy() function *\
# include < stdio.h >
int main( )
{
char source[ ] = "General" ;
char target[30] = "Note" ;
strcat( target, source) ;
printf(" \nsource string = %s ", source) ;
printf(" \ntarget string = %s ", target) ;
return ( 0 ) ;
}
source string = General
target string = GeneralNote