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

C Language Programming Library Reference Guide

string.h - strcpy

Declaration: char *strcpy(char *str1, const char *str2); Copies the string pointed to by str2 to str1. Copies up to and including the null character of str2. If str1 and str2 overlap the behavior is undefined.

Returns the argument str1.

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

Discover

     more......