/* * string-copy.c */ #include int main(int argc, char *argv[]) { char *s; s = malloc(6); strcpy(s, "hello"); free(s); }