回复:(qq95620412)那问题就出在 子函数 display() ...
void diplay(char *str){ str=malloc(100);
strcpy(str,"gskgshdfh");
printf("cur str is:%s",str);
free(str);
}
这样写行不?
2007-11-13 08:18
2007-11-13 10:41
2007-11-13 10:55
2007-11-13 11:44
2007-11-14 00:58
2007-11-14 09:07