What is array

Array in c programming
                  Array is group of variables in c program



Definition of array
             
 An array is a collection of data items, all of the same type, accessed using a common name. A one-dimensional array is like a list; A two dimensional array is like a table!



















    Two dimensional array...........

Two-dimensional Arrays. ... A 2D array has a type such as int[][] or String[][], with two pairs of square brackets. The elements of a 2D array are arranged in rows and columns, and the new operator for 2D arrays specifies both the number of rows and the number of columns.

Multidimensional array.............

Multidimensional Arrays. Open Live Script. A multidimensional array in MATLAB® is an array with more than two dimensions. In a matrix, the two dimensions are represented by rows and columns. Each element is defined by two subscripts, the row index and the column index




Comments

Post a Comment

Popular Posts