I am confused about how to create a dynamic defined array:
int *array = new int[n];
I have no idea what this is doing. I can tell it\'s c
It allocates that much space according to the value of n and pointer will point to the array i.e the 1st element of array