C ++宣告陣列的語法為: type name[length] , type 為陣列元素的資料型 ... 例如下面宣告一個 int 整數陣列變數 ages 長度為10,陣列元素未初始化則 ...
確定! 回上一頁