第1、malloc 函式返回的是void * 型別,如果你寫成:p = malloc (sizeof(int)); 則程式無法通過編譯,報錯:“不能將void* 賦值給int * 型別變數”。所以 ...
確定! 回上一頁