C Programming Language

strcpy()

Syntax:
#include<string.h>
char *strcpy( char *to, const char *from );

                    strcpy(str1,str2) copies the string pointed to by str2 to the string pointed to by str1 and terminates str1 with a null. The str2 must be a pointer to a null terminated string.

Example:

strcpy() function  
strncat() Home strncpy()

c program stats