The malloc function in C is used to dynamically allocate memory at runtime.This means that you can request memory from the operating system when your program is running, instead of having to specify the amount of memory you need before the program starts.In simple terms, malloc is a function that allows you to create a block of memory of a specified size and returns a pointer to the first byte of that block.
Collection
[
|
...
]