Check out example codes for "imprimir matriz". It will help you in understanding the concepts better.

Code Example 1

void imprimir(TMatriz m){
    int i, j;

    for( i = 0; i < kDIM; i++){
      for(j = 0; j < kDIM; j++){
        printf("\t%d", m[i][j]);
      }
      printf("\n");
    }
}

Learn ReactJs, React Native from akashmittal.com