+ 1

Why are use arrays

4th Mar 2018, 8:19 AM
happymishra
7 Respostas
+ 13
to store same type of data at one place
4th Mar 2018, 8:40 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 5
"Why ?" Here are some advantages why we use them :- 1. It is used to represent multiple data items of same type by using only single name. 2. It can be used to implement other data structures like linked lists, stacks, queues, trees, graphs etc. 3. 2D arrays are used to represent matrices.
4th Mar 2018, 8:22 AM
Ekansh
+ 3
what is linked list give one example with explanation and thanks for array
4th Mar 2018, 8:24 AM
happymishra
+ 3
actually we don't use array then that time we are create many memory space because different data type have different value store so use array to store same data type multiple value
4th Mar 2018, 8:24 AM
happymishra
+ 1
you have 20 eggs,why put all the eggs into one single crate to transport it around? why not place each egg in 20 different cups?.the first method is more convenient
4th Mar 2018, 8:55 AM
᠌᠌Code X
᠌᠌Code X - avatar
0
array is like a bus or train,You can store your value and use it whenever you want
4th Mar 2018, 10:25 AM
Prince T MATHEW
Prince T MATHEW - avatar