answersLogoWhite

0

What is a multi array?

User Avatar

Anonymous

10y ago
Updated: 9/9/2022

A two-dimensional array is the simplest multi-dimensional array and is implemented as a one-dimensional array where every element is itself a one-dimensional array. We can imagine a two-dimensional array as being a table of rows and columns where every row is an array in its own right.

A three-dimensional array is simply a one-dimensional array of two-dimensional arrays, which can be imagined as being an array of tables. Extending the concept, a four-dimensional array is a table of tables.

Multi-dimensional arrays may be jagged. That is, a two-dimensional array may have rows of unequal length. Unlike regular arrays, jagged arrays cannot be allocated in contiguous memory. Instead, we use the outer array (the first dimension) to store pointers to the inner arrays. An array of strings (character arrays) is an example of a two-dimensional jagged array.

User Avatar

Henry Feeney

Lvl 10
2y ago

What else can I help you with?

Related Questions

When was Multi-Color Graphics Array created?

Multi-Color Graphics Array was created in 1987.


What is meant by irregular dimensional array?

An irregular dimensional array is a special type of multi-dimensional array.First we must understand that a multi-dimensional array is just an array of arrays. Each element in the array is, itself, an array of elements.A regular multi-dimensional array will be an array of size n, with each element containing a separate array of size m. That is, each sub-array has the same size.An irregular multi-dimensional array will be a multi-dimensional array in which each sub-array does not contain the same number of elements.Regular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4, 5}array[2] = new array{6, 7, 8}array[3] = new array{9, 10, 11}This regular array is an array of size 4 in which each sub-array is of size 3.Irregular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4}array[2] = new array{5, 6, 7}array[3] = new array{8, 9, 10, 11}This irregular array is an array of size 4 in which the size of each sub-array is not the same.


What are the kinds of arrays?

1. One dimension array 2. Two dimension array 3. Multi dimentional array


What an array?

An array is an aggregate of data elements of the same type. Arrays are allocated in contiguous memory. An element of an array can be another array type, also known as a multi-dimensional array.


Explain the Different types of array?

one dementional array and two dementional array


What does the acronym GCRMA mean?

GC robust multi-array average


Is two dimensional array is multi dimensional array in c language?

Yes because multi means more than one in programming, just like it does in English. No isn't that a surprise. Have you read any good programming text books lately.


Define the declare statement for multi-dimension array?

<storage_class> <type> <identifer> '[ '<number1> ']' '[ '<number2> ']' ... ';'


Can you use a sequential search on an unsorted array?

Sequential search is the only way to search an unsorted array unless you resort to a multi-threaded parallel search where all threads concurrently search a portion of the array sequentially.


Can an array contain elements of an object type?

Yes. An array of arrays is nothing more than a multi-dimensional array.


Give an example of a multi dimensional array in Cpp?

// 2 dimensional array (a sudoku puzzle): char sudoku[9][9]; // 3 dimensional array (100 sudoku puzzles): char sudokus[100][9][9]


What is multidimentional array?

Arrays having more than one dimension is known as multi-dimensional arrays. Multi-dimensional arrays is also known as arrays-of-arrays.