Mega Code Archive
Categories
/
C
/
Code Snippets
A simple string copy
#include
#include
int main(void) { char str[80]; strcpy(str, "copy str example"); puts(str); return 0; }