Question: what is the difference between dynamic and static 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.