I am working on a review for my midterm and need some help with a problem.
This is the question:
if array a is int[] a = {1, 2, 3}, what is a[0] - a[2]?
a. 1
b. 2
c. 3
d. None of the above
I am guessing that the answer is: b
Anyone know if I am right? If it is not "b" why is it not "b"?