imprimir matriz 1

imprimir matriz

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]);

Here is what the above code is Doing:
1. It's defining a constant called kDIM, which is the size of the matrix.
2. It's defining a type called TMatriz, which is a matrix of integers.
3. It's defining a function called imprimir, which takes a matrix as a parameter and prints it.

Similar Posts