Which of the following is a valid declaration for a two-dimensional array?

a) int[][] matrix;
b) int[2] matrix;
c) int[]** matrix;
d) int[] matrix;
e) none of these are correct


a) int[][] matrix;

Computer Science & Information Technology

You might also like to view...

Write a C++ fragment that displays the row and column subscripts of all occurrences of the value of variable target that are found in M ? N matrix matrix.

What will be an ideal response?

Computer Science & Information Technology

The background color for a cell takes precedence over the background image for the table.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which mode enables a user to leave the computer without logging off to come back to his or her personal settings?

A) Edit B) Log off C) Lock D) Sleep

Computer Science & Information Technology

The Assets panel displays all of the assets in a Web site; there are ____ categories of assets represented by buttons on the Assets panel.

A. four B. five C. six D. nine

Computer Science & Information Technology