例: int num[5] = { 1, 2, 3, 4, 5 };. 程式範例: oop_ex19.cpp. 3.1.3 Array and pointer. 一維陣列的陣列名為一指標,但其固定指到陣列的第一個元素,不能對其作運算.
確定! 回上一頁