Новый курс! Каждый программист должен знать генеративный ИИ!
+ 2

# Arrays

What is the use of 2d arrays in c++

13th Dec 2018, 5:11 PM
Sudhanshu Sharma
9 ответов
+ 19
2d-array is array of 1d arrays , it is generally used to store data in matrix form (in form of rows & columns) , For more information : https://www.quora.com/What-is-the-advantage-of-a-double-dimensional-array-over-a-single-dimensional-array
13th Dec 2018, 5:40 PM
Gaurav Agrawal
+ 3
You can use 2d arrays in matrix storage. Usually, we may use them nicely while multiplying 2 matrixes, adding and subtracting from each other. So it is nice to use 2d arrays in matrix operations. Make, for ex. i rows, j columns of the matrixes. I personally used when studying matrix mulpitplications in visual basic in visual studio.
14th Dec 2018, 5:12 PM
Zhenis Otarbay
+ 2
if you make list of mark of student and name the it difficult from 1D array and if you declare 2D array then it is easy to access input and thinking is easy ex. matrix or determinate
14th Dec 2018, 4:03 AM
+ 2
if you want to store Strings in an array you must define a 2d array. a 2d array is an array of arrays
14th Dec 2018, 8:01 AM
Sarra Hdider
+ 1
A two dimension array hold one or more array
21st Sep 2019, 8:30 AM
Dharani
+ 1
If u want to store string u should use 2d array
21st Sep 2019, 8:31 AM
Dharani
+ 1
Multidimensional arrays store data like weather forecasting etc in the matrices format.
4th Feb 2020, 7:38 AM
SHAHWAR KIYANI
+ 1
Two Dimensional array in C++ is an array that consists of more than one rows and more than one column. In 2-D array each element is refer by two indexes.
30th Dec 2021, 1:07 PM
Tanuja Ghaytidak
0
if you want acesss an arry by number and and for exmaple 0 or 1 and it could be number or student name and let say arry [1] is stuudent name when you use the print line method for java that would print the name of the student based on the arry number
2nd Mar 2021, 2:50 PM
Ali Alrahem
Актуальное сегодня
Help Me!!!