The array is a non-primitive and linear data structure that is a set of similar data items, meaning that it will store only one type of data (either it will store all the integer data or all the floating point to).
Arrays are a static data structure, that is, we can only allocate memory in compile time and can not change it in run-time. ”
Types of array in hindi: –
Arrays are of the following three types: –
- one dimensional arrays
- two dimensional arrays.
- Multi-dimensional arrays.
Also read
one-dimensional (1-D) arrays
The arrays that contain only one subscript are called one dimensional arrays. It is used to store data in a linear form.
two-dimensional (2-D) arrays
Those arrays that contain two subscript are called two dimensional arrays. Two dimensional arrays are also called matrix and table.
Multi-dimensional (M-D) arrays
The arrays that contain more than two subscript are called Muti-dimensional arrays.
No comments:
Post a Comment