Question: What is the primary advantage of using a dynamic array over a static array?
Options:
Correct Answer: Automatic resizing
Solution:
Dynamic arrays can automatically resize themselves when they reach capacity, which is a significant advantage over static arrays that have a fixed size.