Answers for "dynamic memory allocation 2d array c"

C++
21

array 2d dynamic allocation c++

int** a = new int*[rowCount];
for(int i = 0; i < rowCount; ++i)
    a[i] = new int[colCount];
Posted by: Guest on April-04-2020

Code answers related to "dynamic memory allocation 2d array c"

Browse Popular Code Answers by Language