分配一塊動態記憶體,大小為int,ptr 指到此記憶體位址. ptr = new int ; ... delete 動態多維陣列多維的動態陣列,回收時(deallocate),要反向回收。
確定! 回上一頁