+ 1
What is the use of array in programming language
application of array
2 Answers
+ 6
Array is a collection of similar data types.
Like if you want to store n integers you will use array.
If we use int i, it can store only one value.
But if we use array int i[10], it can now store 10 integers.We can also store float values or characters.
0
Arrays are things that hold 2 or more items. For example, arrays are used in hangman games, where you put a list of words, then the computer chooses a word as an answer from the list.