emmmmmmmmmmmmmmmmmmmmmmmmmmmm
#include <stdio.h>
int main(void)
{
char *p;
p = malloc(strlen("hello")+1);
if(p != NULL)
{
strcpy(p,"nihao");
puts(p);
}
free(p);
p = NULL;
return 0;
}
emmmmmmmmmmmmmmmmmmmmmmmmmmmm
#include <stdio.h>
int main(void)
{
char *p;
p = malloc(strlen("hello")+1);
if(p != NULL)
{
strcpy(p,"nihao");
puts(p);
}
free(p);
p = NULL;
return 0;
}