#include <stdio.h>
#include <stdlib.h>

void exibe_2d_matriz(int matriz[][10], int linhas){
   int i, j;

   for (i = 0; i < linhas; i++){
     for (j = 0; j < 10; j++)
       printf(" %3d ", matriz[i][j]);
   printf("\n");    
   }   
}

int main(){

       int a[1][10] = {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10}};

       int b[2][10] = {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10},

                      {11, 12, 13, 14, 15, 16, 17, 18, 19,20}};

       int c[3][10] = {{1, 2, 3, 4, 5, 6, 7, 8, 9, 10},

                      {11, 12, 13, 14, 15, 16, 17, 18, 19, 20},

                      {21, 22, 23, 24, 25, 26, 27, 28, 29, 30}};
                      

  printf("Matriz a \n");
  exibe_2d_matriz(a, 1);

  printf("Matriz b \n");
  exibe_2d_matriz(b, 2);

  printf("Matriz c \n");
  exibe_2d_matriz(c, 3);
       
     
  system("pause");
  return 0;  

}