What is array? Explain need for array.
Answers
Answered by
8
@@@@@@@hope help you @@@@@@@
Array. An array is a data structure that contains a group of elements. Typically these elements are all of the same data type, such as an integer or string. Arrays are commonly used incomputer programs to organize data so that a related set of values can be easily sorted or searched.
Array. An array is a data structure that contains a group of elements. Typically these elements are all of the same data type, such as an integer or string. Arrays are commonly used incomputer programs to organize data so that a related set of values can be easily sorted or searched.
Answered by
4
What is array-
In computer science, an array data structure, or simply an array, is a data structure consisting of a collection of elements, each identified by at least one array index or key.
Need-
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. It is better and convenient way of storing the data of same datatype with same size.
Similar questions