+ 1
what is the meaning of arrays?
I want to know it.
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)
+ 1
Important notice: All values in an array have to be of same data type. :)
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;
0
@Heroes Killer Not in all languages though ;)