Malloc int Array C
int array_length = 100;
int *array = (int*) malloc(array_length * sizeof(int));
João L. Silva
int array_length = 100;
int *array = (int*) malloc(array_length * sizeof(int));
#define ARR_LENGTH 2097152
int *arr = malloc (ARR_LENGTH * sizeof *arr);