logo

Crowdly

Nous considérons la liste suivante: (le point noir symbolise NULL) et ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Nous considérons la liste suivante:

(le point noir symbolise NULL)

et les instructions suivantes :

typedef struct _cellule_t cellule_t;

struct _cellule_t{

int donnee;

cellule_t *suivant;

};

cellule_t *f(int d, cellule_t *liste){

cellule_t *nCell;

if (liste == NULL) {

nCell = malloc(sizeof(cellule_t));

nCell->donnee = d;

nCell->suivant = NULL;

return nCell;

}

liste->suivant = f(d, liste->suivant);

return liste;

}

Quel schéma correspond à la liste après l’appel liste=f(15,liste) ?

0%
0%
0%
0%
0%
100%
More questions like this

Want instant access to all verified answers on moodle-sciences-24.sorbonne-universite.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!