An array is a special type of variable that can be used to hold a list/collection of values.
Mathmatically speaking it is a matrix...
In Database jargon it is a table...
In laymen terms it is a list of things.
2007-01-29 06:42:58
·
answer #1
·
answered by mikie79 2
·
1⤊
0⤋
an array is a variable that holds multiple pieces of information in different memory slots withing the variable. Consider an ice cube tray there are a number of slots to hold ice cubes. To create and use arrays are different from language to language. In visual basic it goes like this.
Dim IceTray(1 to 12) as Variable
this declares an array called icetray and has 12 slots that can contain variable kinds of information, like integers, strings, etc.
to put information in an array you do it like this
IceTray(1) = 6
IceTray(5) = "Six"
in slot 1 of the array the integer 6 is held there and in slot 5 of the array the word Six is held there.
2007-01-29 14:50:45
·
answer #2
·
answered by ikeman32 6
·
1⤊
0⤋
An array is a single line collection of like data. For example,
1,9,2,22,11,31,7,29,55
is an array of ages for example.
2007-01-29 14:40:28
·
answer #3
·
answered by BigRez 6
·
1⤊
0⤋
Array is a datatype which holds similar data`s.
To know more about arrays, read any 'C Programming' book.
2007-01-29 14:50:51
·
answer #4
·
answered by Toffy 1
·
1⤊
0⤋