What is a malloc?
I need help
Answers
Answered by
2
Explanation:
In C, the library function malloc is used to allocate a block of memory on the heap. The program accesses this block of memory via a pointer that malloc returns. When the memory is no longer needed, the pointer is passed to free which deallocates the memory so that it can be used for other purposes.
Answered by
5
Answer:
hii mate...
C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely malloc, realloc, calloc and free.
Similar questions
Computer Science,
5 months ago
English,
5 months ago
English,
11 months ago
Social Sciences,
11 months ago
Math,
1 year ago
English,
1 year ago