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
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.