Differentiate between 1-D and 2-D arrays.
Answers
Answered by
0
A one dimensional array consists of a single row and has multiple columns there in it.A 1D array is nothing but simply a collection of various elements.
A two dimensional array on the other hand consists of multiple rows and multiple columns.A 2D array is just a collection of 1D arrays.
Similar questions