#include #include void main(void) { int* ptr = (int*) malloc(sizeof(int)); if (ptr == NULL) { printf("Allocation avortee\n"); } else { printf("Allocation reussie a l'adresse : %p\n", ptr); printf("%d\n", *ptr); *ptr = 111; printf("%d\n", *ptr); } }