How would you write the values a 3 dimensional array? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How would you write the values a 3 dimensional array?

11th Jan 2016, 8:41 PM
Luke
Luke - avatar
2 Answers
+ 2
int threeDimArr [2] [3] [4] = {{{1,2,3,4}, {5,6,7,8} {9,1,2,3} }, {{4,5,6,7}, {8,9,1,2}, {3,4,5,6} } } I think this is it.
23rd Jan 2016, 10:05 AM
Masaya K Billy
Masaya K Billy - avatar
0
you can use 3 for loops one into another.......
23rd Jul 2016, 12:47 PM
Kamal Singh
Kamal Singh - avatar