L'allocation dynamique

profThiernesse
2,170 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Exercice 3 - Base

Ecrire la fonction qui alloue la mémoire d'une matrice de taille lignes * colonnes, puis qui l’initialise à la valeur val*(numero_de_ligne+1), int * alloue_matrice(int lignes,int colonnes,int val).

Allocation tableau
int* alloue_tab(int lignes, int colonnes, int val) {
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content