+ 2
Multi Dimensional Array
Is it possible to fill all the columns of multi Dimensional Array
20 Respostas
+ 11
Kamal , to get rid of all the assumptions coming from your question, it would be a good idea to post your code here. Please put your code in playground and link it here. If you don't like to do this, give us at least an idea about the programming language you want to use, and how your filled array should look like. Thanks
+ 3
Not exactly sure what you are expecting.
This simple code shows 2D and 3D arrays.
https://code.sololearn.com/c57A49ydj942/?ref=app
https://code.sololearn.com/cuvoBbeU86W3/?ref=app
+ 2
2D array will represent a matrix.
3D array could be considered as a matrix with multiple faces just like a Rubik's cube.
+ 2
You are correct.
+ 2
Kamal you can insert images by creating a post and then link that post here in the question.
+ 2
Lothar it's not about the code it's about the Array concept...
+ 2
Kamal this is how you should do it.
https://www.sololearn.com/post/4112/?ref=app
+ 2
So you want to assign the 1D array inside of the 2D array. It can be done like this.
https://code.sololearn.com/cuuoiMLk3tGf/?ref=app
+ 1
Let say I have created 2 D array. And whenever I will try to fill column it will be filled in 2nd Dimension only and I want to use 1st and 2nd dimension together
+ 1
Avinesh bhai let me ask you this.., agr me 2D ya 3D how it will represent... In table form, in matrix form or in some other form ???
+ 1
Hmmmmm but I guess it follows arrays of arrays approach....
+ 1
I wish I could send you a diagram so I can elaborate my question
+ 1
Avinesh so you are asking me to post it to Facebook then share that link here ????
+ 1
Avinesh thank you let me do it right away
+ 1
Here is th diagram, hope you understand my question now. https://www.sololearn.com/post/744282/?ref=app
+ 1
Avinesh I guess it's not possible... Am I correct ???
+ 1
Avinesh want to assign "values" to 1D Array while using 2 D Array.
+ 1
Avinesh did you see my diagram ???
0
Jude Okeleke Sorry but I didn't get you