define 3d array with example?
Answers
Answered by
137
A 3D array is a collection of 2D arrays.
It is specified by using three subscripts:
- Block size
- Row size
- Column size.
More dimensions in an array means more data can be stored in that array.
Answered by
5
Answer:
You can think the array as a table with 3 rows and each row has 4 columns. Similarly, you can declare a three-dimensional (3d) array. For example, float y[2][4][3];
Similar questions
Environmental Sciences,
3 months ago
History,
3 months ago
Math,
6 months ago
Social Sciences,
6 months ago
Math,
1 year ago
Hindi,
1 year ago