指出以下程序存在的问题:
void GetMem(char *p)
{
p = (char *)malloc(100);
}
void main()
char *str = NULL;
GetMem(str);
strcpy(str, "hello world");
printf(str);