sync: 2026-11-09 17:05
This commit is contained in:
1 parent
cc05fbe797
commit
9767b59305
1 file changed
+7
@@ -987,5 +987,12 @@ Ex:
|
|||||||
free(p);
|
free(p);
|
||||||
```
|
```
|
||||||
|
|
||||||
|
>1 malloc = 1 free
|
||||||
|
|
||||||
|
### variantes
|
||||||
|
la fonction `calloc` réserve et initialise à 0 un tableau.
|
||||||
|
Ex:
|
||||||
|
```c
|
||||||
|
int* p =
|
||||||
|
```
|
||||||
|
|
||||||
Reference in new issue
Block a user