954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

rows and coloumns in 3d array

in multidimensional array what is the row and coloumn size.for example in 2d array a[2][2] this has 2 rows and 2coloumns .but what does this have a[2][3][4]????please explain me with practical example

rithish
Junior Poster in Training
59 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
 

a[2][3][4] is a 3 dimensional array
that has an array of 2 elements where each element is an array of 3 elements where each element is an array of 4 elements.

though its old, you can check this article for an example
try searching through google for more examples and related info

zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162
 

are'nt they using 3d arrays now???

rithish
Junior Poster in Training
59 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
 

elements are ok??what is coloumn and row size?

rithish
Junior Poster in Training
59 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
 

rows and columns are just common interpretations for 2d arrays
I think its more correct to think of it as arrays of arrays or elements of the elements and so on

zeroliken
Veteran Poster
1,106 posts since Nov 2011
Reputation Points: 201
Solved Threads: 162
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You