1. Using Single Pointer · #include <iostream> · // `M × N` matrix · #define N 5 · // Dynamically allocate memory for 2D Array in C++ · { · int* A = new int[M * N];.
確定! 回上一頁