Arrays
Arrays
Jasraj Meena
Assistant Professor
Department of Information Technology
Delhi Technological University
❖ Multidimensional Arrays:
❖ The linear array discussed so far are also called one-dimensional
arrays, each elements in the array is referenced by a single
subscript [1].
❖ Most of the programming language allow two-dimensional and
three-dimensional arrays, i. e. arrays where elements are
referenced, respectively, by two and three subscripts.
❖ Two-dimensional Arrays:
❖ A two dimensional M×N array A is a collection of M.N data elements such
that each element is specified by pair of integers called subscript with a
property that: 1≤j≤N, 1≤k≤M [1].
❖ Example: A[3,4]
76 87
88 123
87 76
41 41
OR