I don\'t truly understand some basic things in C like dynamically allocating array of arrays. I know you can do:
int **m;
in order to decla
Using malloc(3) for allocate the first array and putting in there pointers created by malloc(3) should work with array[r][c] because it should be equivalent to *(*(array + r) + c), it is in the C standard.
malloc(3)
array[r][c]
*(*(array + r) + c)