1. Single Dimensional Array · #define N 10 · // Dynamically allocate memory for 1D Array in C++ · { · int* A = new int[N]; · // assign values to the allocated memory.
確定! 回上一頁