diff --git a/.zk/notebook.db b/.zk/notebook.db index 3f4536b..c07d569 100644 Binary files a/.zk/notebook.db and b/.zk/notebook.db differ diff --git a/zk/Heap_memory.md b/zk/Heap_memory.md index 4a2f5c3..aa2d010 100644 --- a/zk/Heap_memory.md +++ b/zk/Heap_memory.md @@ -29,6 +29,8 @@ data = malloc(512) The first line assigns a special _pointer_ variable (indicated by `void *` rather than `int` or `str`) . This is a variable only holds a memory address. -The `malloc` method assigns 512 bytes to the `data` variable. +The `malloc` method requests 512 bytes that it wants to assign to the `data` +variable. it will return the address of the first byte in the newly allocated +memory. ## Related notes