When we declare an array in C...array is basically a pointer stored with base address of that array..
For ex:
int *x=malloc(5);
Gives memory for that array 'x' in Heap
Now,my question is that..where does memory will be allocated for this type of array declaration
int x1[5];
Assume that both 'x' &'x1' are declared in a function.
Where does 'x1' go in memory. Is it in stack? Or in Heap?