#include #include #include int main() { char* a = malloc(strlen("test")); strcpy(a, "test"); free(a); printf("%s\n", a); }