Is theare a 3D array | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Is theare a 3D array

30th Oct 2019, 12:01 PM
Radoslav Kostov
Radoslav Kostov - avatar
2 Answers
+ 7
Here is example I think this is helpful for you; int arr[][][] = { index 0 in 3D array { index 0 in 2D array { 0, inedx 0 in 1D array 1, 2 }, {}, {} } { {},{}{} } };
30th Oct 2019, 2:02 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 3
You can create 3d array by making an array of 2d array.
30th Oct 2019, 1:29 PM
Gaurav Agrawal
Gaurav Agrawal - avatar