Autosave: 2024-04-20 14:40:05

This commit is contained in:
thomasabishop 2024-04-20 14:40:05 +01:00
parent 66c55e149d
commit c21e92a1b6
2 changed files with 3 additions and 1 deletions

Binary file not shown.

View file

@ -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