Computer Applications
For a multidimensional array B[9][15] find the total number of elements in B.
Java Arrays
3 Likes
Answer
The total number of elements in array B is as follows:
Total elements = number of rows x number of columns
= 9 x 15
= 135
Answered By
1 Like
Related Questions
Write a statement that displays the value of the second element in the long array balance.
For a multidimensional short array X[5][24], find the number of bytes required.
How are the 2-D arrays stored in the memory?
What are the preconditions for Binary Search to be performed on a single dimensional array ?