I cannot create a 2D array from 2 variables (eg int arr[i][j]
not allowed) so how would I create a dynamically sized 2D array?
The dimensions of the array are only known at runtime in my program. The array is to represent a grid. How would I code this in C?