After the following statements execute, what are the contents of matrix?int matrix[3][2];int j, k;for (j = 0; j < 3; j++)
  for (k = 0; k < 2; k++)     matrix[j][k] = j + k; 

A. 0 0
1 1
2 2
B. 0 1
2 3
 4 5
C. 0 1
1 2
 2 3
D. 1 1
2 2
 3 3


Answer: C

Computer Science & Information Technology

You might also like to view...

The binary number system uses only two digits: 0 and 1.

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

Computer Science & Information Technology

________ are a subset of four keyboard shortcuts that can be disabled when securing a database

A) Assigned keys B) Navigation keys C) Special keys D) Hidden keys

Computer Science & Information Technology

XML is ________

A) Excel's version of HTML B) a method to format documents for web browser display C) a method to structure data that's usable industry wide D) a series of user defined markers

Computer Science & Information Technology

Which of the following is the location of the command to start the web server?

a. /etc/httpd/conf b. /var/httpd/conf c. /etc/init.d/httpd start d. /dev/init.d/httpd start

Computer Science & Information Technology