With the following declaration: int [ ] points = {300, 100, 200, 400, 600}; the statement points
Question:
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
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285856872
5th Edition
Authors: Barbara Doyle
Question Posted: