+ 1

what is the meaning of arrays?

I want to know it.

29th Jan 2017, 5:05 AM
Aayush Mukeshkumar Patel
Aayush Mukeshkumar Patel - avatar
4 ответов
+ 3
an array is like a container containing the amount of specified data for ex. an array int a=new Array[5] makes an array where we can store six elements(counting starts from zero)
29th Jan 2017, 5:27 AM
Utkαrsh
Utkαrsh - avatar
+ 1
Important notice: All values in an array have to be of same data type. :)
29th Jan 2017, 6:07 AM
Heroes Killer
Heroes Killer - avatar
0
An array is a value that holds multiple values for example: int array[] = {25, 65, 684, 864}; (C++) This is better than: int digit1 = 25; int digit2 = 65; int digit3 = 684; int digit4 = 864;
29th Jan 2017, 5:32 AM
Dawzy
Dawzy - avatar
0
@Heroes Killer Not in all languages though ;)
29th Jan 2017, 6:40 AM
Dawzy
Dawzy - avatar