Array:Part-three

Continue from Array: Part-two MULTI-DIMENSION ARRAY A multi-dimension array or N-Dimension store data element in N-dimensions. Simplest form of multi-dimension array is 2-D array which store data in two dimensions. There are many situation where it’s useful to use multi-dimension array like To store marks of different students in different subjects ,2-D

Continue reading »

Array: Part-two

Continue from Array : Part-one INSERT Insertion refers to insert a new element at given index.To insert a new element  We can shift elements from given index to last index one position forward and then update value at given index.Here we will  Break the process into two parts Shifting Update Shifting: Example-4->

Continue reading »

Array : Part-one

Array is a linear data structure which holds same type of elements in continuous memory location. Total number of elements in array is called size of array. Elements of array are accessed on index basis. An index represent position of any element in array. Address of element at 0th index

Continue reading »