Question: What is the main advantage of using a dynamic array over a static array?
Options:
Correct Answer: Dynamic resizing
Solution:
Dynamic arrays can resize themselves when they reach capacity, allowing for more flexible memory usage.