1int** a = new int*[rowCount];
2for(int i = 0; i < rowCount; ++i)
3 a[i] = new int[colCount];
1int** arr = new int*[10]; // Number of Students
2int i=0, j;
3for (i; i<10; i++)
4 arr[i] = new int[5]; // Number of Courses
5/*In line[1], you're creating an array which can store the addresses
6 of 10 arrays. In line[4], you're allocating memories for the
7 array addresses you've stored in the array 'arr'. So it comes out
8 to be a 10 x 5 array. */