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.

Explain an array and its pros and cons. Why might this structure be preferred for storing/referencing data?SolutionArray: A datastucture that can store a fixed-

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site