strcpy
Copies a string into an array (function or macro)
#include <string.h> char *strcpy ( char *dst, const char *src);
strcpy returns the address of dst.
The strcpy function or macro copies the string pointed to by src (including the terminating NULL character) into the array pointed to by dst. Copying of overlapping objects is not guaranteed to work properly. See the description for the memmove function to copy objects that overlap.
#include <string.h> main () { char buffer[80]; strcpy (buffer, "Hello "); }