Programation en c

Bonjour,coment allouée dynamiquuement une chaine
Configuration: Windows XP
Internet Explorer 6.0

1 réponse

  1. Contributeur
    Salut
    #include <stdlib.h>
    
    int main(void){
        char *buffer;
        buffer=malloc(50);
        free(buffer);
        return 0;
    }
    

    A toi d'adapter selon tes besoins.