Multidimensional Array in data structure

Why do we utilize a Multidimensional Array within data structure?

E

Expert

Verified

A multidimensional array can be helpful to organize subgroups of data in an array. Additionally to organizing data stored within elements of an array, a multidimensional array can store memory addresses of data within an array of pointers or a pointer array.

Multidimensional arrays are utilized to store information into a matrix form.

For example: a railway timetable, schedule can’t be stored like a single dimensional array.
One can utilize a 3-D array for storing length, width and height of each room upon each floor of a building.

   Related Questions in Database Management System

©TutorsGlobe All rights reserved 2022-2023.