Previous Next Up Index Contents

Exercice 10.38

void ECRIRE_MATRICE (int *MAT, int L, int C, int CMAX)
{
 /* Variables locales */
 int I,J;
 /* Affichage des composantes de la matrice */
 for (I=0; I<L; I++)
     {
      for (J=0; J<C; J++)
           printf("%7d", *(MAT + I*CMAX + J));
      printf("\n");
     }
}


Previous Next Up Index Contents


Feedback - Copyright © 1993,1996,1997 F.Faber