#include <stdio.h>
static char *pstr = "hello";
void fun(char **p);
void main()
{
char *p = NULL;
fun(&p);
printf("%s\n", p);
//*ptsr = "wangyan";
//*p = "wangyan";
//printf("%s\n", p);
}
void fun(char **p)
{
*p = pstr;
}