棧:在函式內部宣告的所有變數都將佔用棧記憶體。 ... 一維陣列. // 動態分配,陣列長度為m int *array=new int [m]; //釋放記憶體 delete [] array; ...
確定! 回上一頁