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