Home > Electronics Tutorials > C Language Tutorial > string.h - strcat

C Language Programming Library Reference Guide

string.h - strcat

Declaration: char *strcat(char *str1, const char *str2); Appends the string pointed to by str2 to the end of the string pointed to by str1. The terminating null character of str1 is overwritten. Copying stops once the terminating null character of str2 is copied. If overlapping occurs, the result is undefined.

The argument str1 is returned.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster