Utility Functions and C Language Reference > C Language Reference > Alphabetical List of Functions > strcpy

strcpy

Example: strcpy String Manipulation Functions

Copies one string to another.

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

dest The destination string into which source is copied.
source The string that is copied.

Return Values

Returns the destination string.