Answers

Question and Answer:

  Home  Data Structures

⟩ Why do we Use a Multidimensional Array in data structure?

A multidimensional array can be useful to organize subgroups of data within an array. In addition to organizing data stored in elements of an array, a multidimensional array can store memory addresses of data in a pointer array and an array of pointers.

Multidimensional arrays are used to store information in a matrix form.

e.g. a railway timetable, schedule cannot be stored as a single dimensional array.

One can use a 3-D array for storing height, width and length of each room on each floor of a building.

 138 views

More Questions for you: