hi, I think this should work find;
void main ()
{
int arr[4][5], row = 4, col = 5;
....
print_array (arr, row, col);
}
void print_array(int arr[][5], int row, int col)
{
for (int x = 0; x < row; x++){
for (int y = 0; y < col; y++)
printf ("%d ", arr[x][y])...