错误代码 #include <stdio.h> #include <stdlib.h> void fun(char *&p){ p=(char*)malloc(100); fgets(p,100,stdin); } int