The statement cout << sales[0,3] + sales[1,3]; will __________. Use the following array named sales to answer this question. 10000 12000 900 500 20000 350 600 700 800 1001. display 1300
2. display 1600
3. display sales [0,3] + sales[1,3]
4. result in an error

Respuesta :

Answer:

result in an error.

Explanation:

The statement cout << sales[0,3] + sales[1,3]; corresponds to a syntax error.

In order to refer to a certain element in a double dimension array in C++, the correct syntax should be :

cout<<a[0][3]+a[1][3];

ACCESS MORE