void main(void)
{
    short int * ptr1, * ptr2 ;
    ptr1 = (short int *)malloc( 16*sizeof(int) ) ;
    printf(" \n Allocation de 16 entiers à l'adresse %p ", ptr1 ) ;
    ptr2 = (short int *)malloc( 32*sizeof(int) ) ;
    printf(" \n Allocation de 32 entiers à l'adresse %p ", ptr2 ) ;
    free( ptr1 ) ;
    printf(" \n Libération de 16 entiers en %p", ptr1) ;
    ptr1 = (short int *)malloc( 10*sizeof(int) ) ;
    printf(" \n Allocation de 10 entiers en %p", ptr1) ;
    free(ptr1) ;
    free(ptr2) ;
}
