Which of the following statements creates a two-dimensional array that contains three rows and four columns? a.

Question:

Which of the following statements creates a two-dimensional array that contains three rows and four columns? a. int rates[3, 4] = {0}; b. int rates[4, 3] = {0}; c. int rates[3][4] = {0}; d. int rates[4][3] = {0}; 


The statement sales[1][3] += 10; will replace the number _____________________. 

a. 900 with 910 

b. 500 with 510 

c. 700 with 710 

d. 800 with 810

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: