How many types of array are there . Explain with an example
Answers
Answered by
1
Answer:
Multi dimensional arrays:
(a) Two dimensional (2-D) arrays or Matrix arrays: In it each element is represented by two subscripts. Thus a two dimensional m x n array A has m rows and n columns and contains m*n elements. It is also called matrix array because in it the elements form a matrix.
pls follow me I will follow you back
and your one click can make me happy please mark me brainlist
Answered by
1
Answer:
One dimensional (1-D) arrays or Linear arrays: In it each element is represented by a single subscript. The elements are stored in consecutive memory locations.
Multi dimensional arrays: (a) Two dimensional (2-D) arrays or Matrix arrays: In it each element is represented by two subscripts.
Similar questions