Discussion :: Arrays - C#
-
What will be the output of the C#.NET code snippet given below?
namespace FreshergateConsoleApplication { class SampleProgram { static void Main(string[ ] args) { int i, j; int[ , ] arr = new int[ 2, 2 ]; for(i = 0; i 2; ++i) { for(j = 0; j 2; ++j) { arr[i, j] = i * 17 + i * 17; Console.Write(arr[ i, j ] + ""); } } } } }
Answer : Option A
Explanation :
No answer description available for this question.
Be The First To Comment