void increment(struct Array array) ... memcpy(A, arr, n * sizeof(int)); ... 在C++ 中,標準方法是使用 std::array 容器來封裝固定大小的數組。
確定! 回上一頁