C語言是利用malloc()函數來進行動態記憶體的配置malloc()的函數如下: 指標 ... ptr=(struct student *)malloc(num*sizeof(struct student));.
確定! 回上一頁