C# Programming - Arrays - Discussion

Discussion Forum : Arrays - General Questions (Q.No. 10)
10.
Which of the following statements is correct about the array declaration given below?
   int[][][] intMyArr = new int[2][][];
intMyArr refers to a 2-D jagged array containing 2 rows.
intMyArr refers to a 2-D jagged array containing 3 rows.
intMyArr refers to a 3-D jagged array containing 2 2-D jagged arrays.
intMyArr refers to a 3-D jagged array containing three 2-D jagged arrays.
intMyArr refers to a 3-D jagged array containing 2 2-D rectangular arrays.
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
3 comments Page 1 of 1.

Rammohan Reddy said:   8 years ago
The Jagged array should contain differ the elements of one row to another.
so it contain 3 different rows i.e., 3-Dimensional Array.
Comparing to each row it contains 2 2-Dimensional Arrays.

So, The answer is option C.

Ashwini gawade said:   1 decade ago
A jagged array is sometimes called as "Array-of- Arrays".

Tanmay Mote said:   9 years ago
Please explain how " C " is the answer?

Post your comments here:

Your comments will be displayed after verification.