strcpy()

The strcpy() function is used for copying the content from one string to another. Here is its syntax:

char* strcpy(char* dest, const char* src);

Here, src represents the pointer to the source string from where the content has to be copied and dest represents the pointer to the destination string to which the content has to be copied.