Question: Question 22 The first element in a two-dimensional array has a row subscript of __________ and a column subscript of __________. 0, 0 0, 1
Question 22
The first element in a two-dimensional array has a row subscript of __________ and a column subscript of __________.
| 0, 0 | ||
| 0, 1 | ||
| 1, 0 | ||
| 1, 1 |
-----------------------------------
Question 23
The sales [4] = sales[4 - 2]; statement will __________. Use the following 5 element array, named sales, to answer this question.
| 10000 | 12000 | 900 | 500 | 20000 |
| replace the 20000 amount with 900 | ||
| replace the 20000 amount with 19998 | ||
| replace the 500 amount with 12000 | ||
| result in an error |
-----------------------------------
Question 24
The sales[3] = sales[3] + 10; statement will __________.
Use the following 5 element array named sales to answer the question.
| 10000 | 12000 | 900 | 500 | 20000 |
| replace the 500 amount with 10 | ||
| replace the 500 amount with 510 | ||
| replace the 900 amount with 910 | ||
| result in an error |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
