+ 3
What's the meaning of array?
3 odpowiedzi
+ 9
array means set of same type of data (in simple language)
u can see in luka answer
1st ) int [] arr={1,2,3,4,5} // here array arr is storing int values
2nd) int [] myarr={"good","aur","kuch bhi yarr"}; //thats string array
need of array ::: to store multiple values of same type
//mark luka answer as best
+ 2
Array is a linear structure having linear relationship between the elements represented by means of sequential memory locations..
Arrays can be one-dimensional, two-dimensional and multi-dimensional...
The elements of array A can be denoted by subscript notation A1,A2,A3,A4.............,An.
or
A(1),A(2),A(3),.........A(N).
or
A[1],A[2],A[3],...........A[N].
Operations on array are-:
1)traversal
2) Search
3)insertion
4)deletion
5)sorting
6)merging