NO1void GetMemory(char *p){p=(char *)malloc(100);}void Test(){char * str=NULL;GetMemory(str);strcpy(str,"Hello world");printf(str);}实质:GetMemory(str)在... Read More
posted @ 2015-03-01 23:57 天王星B Views(1286) Comments(0) Diggs(0)