#include <stdio.h>
char * a(void)
{
char p[]="hello world";
return p;
}
void main(void)
{
char * str=NULL;
str=a();
printf(str);
}
输出的结果为什么不是hello world?