Question: With the following declaration: int [ ] points = {550, 700, 900, 800, 100}; The statement points [3] = points [3] + 10; will a.
With the following declaration:
int [ ] points = {550, 700, 900, 800, 100};
The statement points [3] = points [3] + 10; will
a. replace the 800 amount with 810
b. replace the 550 amount with 560
c. replace the 900 amount with 910
d. result in an error
e. none of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
