+ 1

What is the use of array in programming language

application of array

5th Feb 2017, 9:02 AM
Aurum Titan
Aurum Titan - avatar
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.
5th Feb 2017, 9:09 AM
Ashita Gupta
Ashita Gupta - avatar
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.
6th Feb 2017, 2:44 PM
Mark
Mark - avatar