Malloc: Allocating Memory in C
In compiled programming languages ​​like C, it is often useful, or even necessary, to allocate memory dynamically on the heap, in order to accommodate variables of larger or uncertain size. The malloc function allows us to ask the operating system to allocate an area of ​​memory to be used in our program.
Read MoreCategories
Tags
- 42 School
- Binary
- Bit
- Bitshifting
- Bitwise Operators
- Concurrency
- Console
- CTF
- Data Race
- Deadlock
- Developer
- Errno
- Error Management
- Exit Status
- File
- File Descriptor
- Fork
- Free
- Heap
- Integer
- Inter-Process Communication
- IPv4
- Kill
- Linux
- Malloc
- Memory
- Mutex
- Network Switch
- Operating System
- Pentesting
- Pipe
- Privilege Escalation
- Process
- Processes
- Protocols
- Routeur
- Routing
- Shell
- Signal
- Socket
- Stack
- Subnet Mask
- TCP/IP
- Terminal
- Thread
- Tryhackme
- Variables
- Writing