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); +``` + +