Computer Applications

Given that int A[ ] = {35, 26, 19, 76, 58};
What will be value contained in A[3] ?

  1. 35
  2. 26
  3. 19
  4. 76
  5. 58

Java Arrays

6 Likes

Answer

76

Reason — The valid subscripts of an array are from 0 to size - 1. Thus, A[0] = 35, A[1] = 26, A[2] = 19, A[3] = 76 and A[4] = 58.

Answered By

4 Likes


Related Questions