ARRAY
An array is the most commonly used collection of homogeneous data elements. It is a type of linear data structure which forms the basis for many other complicated data structure. Array can be one-directional or multi-directional.
REPRESENTATION OF LINEAR ARRAY
A [5]
100
101
102
103
104
ONE-DIMENSIONAL ARRAY:-A linear array, also known as one directional array, is collection of finite numbers of elements having the same data type i.e. homogeneous elements.
TWO-DIMENSIONAL ARRAY-The array in which two subscripts are used for referring elements are known as two-dimensional array. Matrices are easily describes the 2D array.
MULTI-DIMENSIONAL ARRAY-The array in which two or more subscripts are used for referring array elements are known as multi-dimensional arrays.
REPRESENTATION OF LINEAR ARRAY
A [5]
100
101
102
103
104
ONE-DIMENSIONAL ARRAY:-A linear array, also known as one directional array, is collection of finite numbers of elements having the same data type i.e. homogeneous elements.
TWO-DIMENSIONAL ARRAY-The array in which two subscripts are used for referring elements are known as two-dimensional array. Matrices are easily describes the 2D array.
MULTI-DIMENSIONAL ARRAY-The array in which two or more subscripts are used for referring array elements are known as multi-dimensional arrays.
No comments:
Post a Comment