[Solved] Dynamic arrays overcome the limit of static arrays

Dynamic arrays overcome the limit of static arrays.

a) True
b) False

Answer: a
Explanation: Static arrays have fixed capacity. The capacity must be specified during memory allocation. Dynamic arrays don’t require to specify their capacity during memory allocation. Dynamic arrays have fixed physical size at backend and its capacity increases if required. Thus, Dynamic arrays overcome the limit of static arrays.

Comments