Question: With the following declaration: int [ ] points = {300, 100, 200, 400, 600}; the statement points [4] = points[4 2]; will a. replace
With the following declaration:
int [ ] points = {300, 100, 200, 400, 600};
the statement points [4] = points[4 – 2]; will
a. replace the 400 amount with 2
b. replace the 300 and 600 with 2
c. replace the 600 with 200
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
