logo

Crowdly

Browser

Add to Chrome

Soit le programme suivant, utilisant un pointeur vers une cellule (on considère ...

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

Soit le programme suivant, utilisant un pointeur vers une cellule (on considère que le type t_cell est bien défini)

#include <stdio.h>

#include <stdlib.h>

#include "cell.h"

int main()

{

t_cell *ptr;

ptr = (t_cell *)malloc(sizeof(t_cell));

ptr->value = 64738;

printf("%d\n",ptr->value);

printf("%x\n", ptr->next); // affichage en hexadécimal, une valeur quelconque

printf("%d\n",ptr->next->value);

return 0;

}

Quelle sortie ne peut-on pas obtenir avec ce programme ?

More questions like this

Want instant access to all verified answers on moodle.myefrei.fr?

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

Browser

Add to Chrome