Computer Science, asked by TbiaSupreme, 1 year ago

The three dimensional array uses three indexes. State whether the statement is True (or) False And Justify it

Answers

Answered by aqibkincsem
0

“Three-dimensional array uses three indexes” is true.

Reasons:

A two-dimensional (2D) array is explained as : an array of arrays.

A three-dimensional (3D)array is defined as  array of arrays of arrays.

In C programming an array can posses multi dimension like  two, three, or even more number of dimensions.

The maximum dimensions a C program may depend  on which compiler it  is being used.

1) Example:

A three-dimensional array can be used to store exam scores for a class of 6 students with 5 exams.

2) And each exam has double number parts namely, multiple-chose and essay.

3) Double [ ] [ ] [ ] scores is equivalent to or equal to new double[6][5][2];

Similar questions