what is the disadvantages and advantages of array
Advantages
Constant time to add and to get an item.
Easy to sort.
Ease of use.
Disadvantages
A fixed size that is set at creation.
Time-consuming operation of inserting an element.
Potential memory overuse problems if not the entire array is used.
Comments
Leave a comment