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