网红萌宠进化史:结果分析2,,,,

来源:百度文库 编辑:高校问答 时间:2024/05/11 04:36:23
char *GetMemory(void)
{
char p[] = "hello world";
return p;
}
void Test(void)
{
char *str = NULL;
str = GetMemory();
printf(str);
}
请问运行Test 函数会有什么样的结果?

hello world

h