An array is a collection of same data type, whose individual elements are arranged in a regular pattern. Practical description of the arrays. Example: A(8)={1,8,3,6,1,4,7,5} So now we will show you how the array elements …
Read More »Array
Types of Array
Types of Array Static array They have fixed size when the array is declared and can not be altered during execution. This is inflexible for certain circumstances (one has to re-entry the program, change the …
Read More »One Dimensional Array
One Dimensional Array Let us consider A is a one dimensional array which have four elements like: A(1) A(2), A(3), A(4) these are stored in the computer and their values will be as: A(1) A(2) …
Read More »Two Dimensional Array
Two Dimensional Array 2 4 6 8 3 5 9 11 This array represents a matrix since it is two-dimensional. Let us consider a 4 x 3 array A which will be stored in the …
Read More »