Quiz Complete, well Done!
What is the syntax for accessing an element in a 2 Dimensional Array?
What is the space complexity of a 2 Dimensional Array with n rows and m columns?
9. The length of a 2 dimensional array is given by
for the rows and by [[len(array_name[0])]] for the columns.
What is the size of a 2 dimensional array with 3 rows and 4 columns?
How do you find the number of columns in a 2 Dimensional Array?
Array Size
Nested Arrays
Array Length
The element at the last row and last column of a 2 dimensional array is usually referred to as the
element.
What is the index of the first element in a 2 dimensional array?
Initialization
To traverse all elements in a 2 dimensional array, you can use nested
.
1. The size of a 2 dimensional array is determined by the number of
and columns.
Row
5. A 2 dimensional array can store
or heterogeneous elements.
3. The first element in a 2 dimensional array is located at
0 position.
How do you iterate through a 2 Dimensional Array?
Traversal
|
|
|
|
|
|
|
|
|
|
How do you declare a 2 dimensional array in C++?