计算机类 2021_08_30 每日一练
A conversion operator which converts the current String instance into raw C-style. string of
type const char*.
有关内存的思考题
1. void getmemory(char *p)
{ p=(char*)mallol(100);
}
void test(void)
{
char * str =null;
getmemory(str);
strcpy(str,”hello,world”);
printf(str);
}
请问运行 Test 函数会有什么样的结果