若建立成功, malloc() 回傳指向該空間的指標,否則回傳NULL 。 以下程式利用函數malloc() 建立新記憶體空間 #include <stdlib.h> #include <stdio.h> ...
確定! 回上一頁