Use the sales array to answer. The array was declared using the int sales[5] = {10000, 12000,

Question:

Use the sales array to answer. The array was declared using the int sales[5] = {10000, 12000, 900, 500, 20000}; statement.


The cout << sales[0] + sales[1] << endl; statement will _____________________. 

a. display 22000 

b. display 10000 + 12000 

c. display sales[0] + sales[1] 

d. result in an error

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

Step by Step Answer:

Question Posted: