Suppose say I have a static array
int a[10];
At some point the the program I want to insert 11th element.So it will throw error as Index out of range error.
So I want to create dynamic array a[]. without changing static array. And I want to take more input to array a[] during run time (means scalability).