131k views
3 votes
Define an array and why it is needed in programming

2 Answers

2 votes

Answer:

An array is a data structure, which can store a fixed-size collection of elements of the same data type. a array is used to store a collection of data, but it´s often more useful to think of an array as a collection of variables of the same type.

Step-by-step explanation:

User Maate
by
3.5k points
1 vote

Answer:

An array is a data structure, which can store a fixed-size collection of elements of the same data type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type.

Step-by-step explanation:

Happy to help :-)

User Gokul P P
by
3.8k points