When allocating array in C, what is the difference between the below two -
int n; scanf("%d",&n); int array[n];
And