c allocate array
snippet in c

c allocate array

user7231

int *array = malloc(10 * sizeof(int));