Aspire Faculty ID #16628 · Topic: NIMCET 2008 · Just now
NIMCET 2008

Let A [1… 10] be an array. Let A [i] = 2i for 1 ≤ i ≤ 10. After the assignment j = A[A[5]] is executed, the value of A[j] is equal to

Solution

A[5] = 10
j = A[10] = 20
A[20] is outside array bounds.

Previous 10 Questions — NIMCET 2008

Nearest first

Next 10 Questions — NIMCET 2008

Ascending by ID
Ask Your Question or Put Your Review.

loading...