Answers for "array 2d dynamic allocation c++"

C++
10

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

Browse Popular Code Answers by Language