int int2d[][] = { { 1, 4, 6, 9 }, { 10, 5, 6, 7, 8 } }; int[] int1d; int len = 0; for (int[] element : int2d) {//把2維的拆成2個一維陣列.
確定! 回上一頁