There are two types of memory allocation. 1) Static memory allocation — allocated by the compiler. Exact size and type of memory must be known at compile time. 2) Dynamic memory allocation — memory allocated during run time.
Read moreWhat are the different types of memory allocation in C?
The C language supports two kinds of memory allocation through the variables in C programs:
Read moreWhat are types of dynamic memory allocation?
Dynamic Memory Allocation is a process in which we allocate or deallocate a block of memory during the run-time of a program. There are four functions malloc(), calloc(), realloc() and free() present in <stdlib.16 Ara 2021
Read more