•Concatenating
strings
–char
*strcat( char *s1, const char *s2 )
•Appends
second argument to first argument
•First character of second argument replaces null character
terminating first argument
•Ensure first argument large enough to store concatenated
result and null character
–char
*strncat( char *s1, const char *s2, int n )
•Appends
specified number of characters from second argument to first
argument
•Appends
terminating null character to result
–