Which of the following correctly declares and initializes a two-dimensional rectangular array of integers?

a) int[,] sum = new int[3, 4];
b) int[] sum = new int[2, 4];
c) int sum[] = new int[2, 2];
d) None of the above.

a) int[,] sum = new int[3, 4];

Computer Science & Information Technology

You might also like to view...

In Alice, a(n) ____ statement is a flow control statement that directs flow according to the value of a condition.

A. doTogether B. doInOrder C. select D. if

Computer Science & Information Technology

In a decision table, ________ occur(s) when rules suggest different actions but satisfy the same conditions.

A) contradictions B) conditions C) redundancy D) incompleteness

Computer Science & Information Technology