you cannot add more (memory) space if you use static allocaiton, say
int a[10];
You must use dynamic allocation if you want to reallocate a bigger chunk of memory:
1. in C, you use malloc/realloc
2. in C++, you can use std::vector to manage memory for you.