malloc
Prototype de malloc:
        void* malloc(size_t taille);
Remarques:
int* tab;
int nbElement;

int main()
{
 printf("\nNb d'éléments du tableau?:");
 scanf("%d",&nbElement);
 tab = (int*) malloc(nbElement * sizeof(int));
 if (tab = = NULL)
     printf ("erreur ...");
 ...

suivant              plan