int *x = new int[5]();
With the above mentality, how should the code be written for a 2-dimensional array - int[][]?
int[][]
i
Ff the array has predefined size you can write simply:
int x[5][5];
It compiles
If not why not to use a vector?