Explain an array and its pros and cons Why might this struct
Explain an array and its pros and cons. Why might this structure be preferred for storing/referencing data?
Solution
Array: A datastucture that can store a fixed-size sequential collection of same type of elements.
Pros:
Cons:
This datastructure is preffered for storing/referencing data because of easy and direct access to any random element in the array.
