Solved

What Is the Value of MyArray[1][2] After This Code Snippet

Question 50

Multiple Choice

What is the value of myArray[1][2] after this code snippet is executed?
Int count = 0;
Int[][] myArray = new int[4][5];
For (int i = 0; i < 5; i++)
{
For (int j = 0; j < 4; j++)
{
MyArray[j][i] = count;
Count++;
}
}


A) 8
B) 9
C) 19
D) 11

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions