« Introduction au langage C/Allocation dynamique de mémoire » : différence entre les versions

Contenu supprimé Contenu ajouté
Ligne 91 :
int **tab;
 
tab = malloc(x * sizeof(*tab));
x = 2;
y = 3;
tab = malloc(x * sizeof(*tab));
for (i = 0; i < x; i++)
{