strcat

Concatenate two strings.

char * strcat (char * dest, char * source);

Required Header
<string.h>

Return Value

The destination string is returned.

Parameters

dest

  A string

source

  A string

Remarks

The strcat function copies source to the end of dest and returns the address of dest. There must be enough space remaining in the dest buffer to prevent unexpected results.

String

See Also    strcmp, strcpy, strncat