To declare a multi-dimensional array, define the variable type, specify the name of the array followed by square ... cout << letters[0][2]; // Outputs "C".
確定! 回上一頁