library functions to dynamically allocate memory code example
Example: c malloc array
#define ARR_LENGTH 2097152
int *arr = malloc (ARR_LENGTH * sizeof *arr);
#define ARR_LENGTH 2097152
int *arr = malloc (ARR_LENGTH * sizeof *arr);