From cc05fbe797c4687ff86ca43aca84672519834612 Mon Sep 17 00:00:00 2001 From: Benji Date: Mon, 9 Nov 2026 17:00:03 +0100 Subject: [PATCH] sync: 2026-11-09 17:00 --- DEV1.1/CM.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/DEV1.1/CM.md b/DEV1.1/CM.md index f756e64..b4d2bf1 100644 --- a/DEV1.1/CM.md +++ b/DEV1.1/CM.md @@ -978,4 +978,14 @@ Ex: int* p = (int*) malloc(10*sizeof(int)); ``` +>malloc renvoie NULL en cas d'échec. + +la fonction `free` libère un espace du tas. + +Ex: +```c +free(p); +``` + +