Question: what is the difference between array and dynamic array?
Answer: Static arrays, sometimes simply called arrays, are allocated with a fixed size while dynamic arrays increase their size when an insertion occurs and the array currently has no space for the new value. Dynamic arrays are not the same as dynamically allocated static arrays.