Accessing Elements
Since two dimensional arrays are stored in row-major order we should, whenever possible, access in this manner
void print_matrix(int matrix[ ][3], int size_dim_1)
for (index1=0; index1<size_dim_1;index1++)
for (index2=0; index2ɛindex2++)
{cout << matrix[index1][index2];}