Standard C Functions


strcat


Syntax

#include <string.h>
char *strcat(char *str1, const char *str2);

Arguments

str1      pointer to the character string buffer that receives the appended characters
str2      pointer to the character string buffer that gives the appended characters

Return Value

A  pointer to str1 

Description

It appends a copy of str2 (including its terminating NULL character) onto the end of str1.