What is array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is array?

Array is a collection of data of same data type And it start with a index of 0. ex.arr[3] it start with index from 0 to 2 Types of array 1.one dimensional array 2.two dimensional array 3.three dimensional array And the length of array find by length function.

10th Oct 2017, 4:31 AM
Saravanan.C
Saravanan.C - avatar
2 Answers
+ 2
Great! Now post this in lesson factory
10th Oct 2017, 5:06 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 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
11th Oct 2017, 11:10 AM
Prabhat Thakur
Prabhat Thakur - avatar