ARRAYS
ARRAYS
Aset of
variables of same type is called array.An array shares a common name. For
instance, we can define an array name salary to represent a set of salries
of a group of employees. A particular value is indicated by writing a number called index
number or subscript in brackets after the array name.
For example,
salary[10]
while the
complete set of values is referred to as an array, the individual
values are
called elements. Array can be of any variable type.
Comments
Post a Comment