Professional Documents
Culture Documents
Array Codes
Array Codes
Question: What are the differences between one dimensional array and a multi-
dimensional array?
Array is a data structure used to represent similar type of data in a continuous manner.
In one dimensional array, the memory allocation is in the form of continuous manner and we
can access data using index directly.
In multi-dimensional array also the memory allocation is in the form of continuous manner
based on rows.
If user want to create a multi-dimensional array with 3 rows and 3 columns then