ISRO | ISRO CS 2009 | Question 28
A one dimensional array A has indices 1….75. Each element is a string and takes up three memory words. The array is stored at location 1120 decimal. The starting address of A[49] is
(A) 1267
(B) 1164
(C) 1264
(D) 1169
Answer: (C)
Explanation: Start address of the element = base address of array + number of elements * size of each element = 1120 + 48 * 3 = 1264
So, option (C) is correct.
Quiz of this Question
Please Login to comment...