strcpy()

Syntax
  #include <string.h>

  
  char *strcpy(char *p, const char *q);

  
Description

strcpy() copies string q into string p (including the terminating \0).

Return

p

See also

memcpy() and memmove()

strncpy()