A one dimensional array A has indices 1....75.Each element is a string and takes up three memory words. The array is stored starting at location 1120 decimal. The starting address of A[49] is
A. | 1167 |
B. | 1164 |
C. | 1264 |
D. | 1169 |
Answer : C Explanation :
One element takes three memory words so memory location 1120 , 1121 , 1123 stores first element. Artimis said: (12:07pm on Monday 1st July 2013)
1120 (48*3)=1267 how is 1264???
k.karuna said: (11:12am on Wednesday 21st June 2017)
48*3=1441120 144=1264
Adi said: (10:14pm on Friday 9th March 2018)
1120 (48*3)=1264.
rachel said: (8:29pm on Wednesday 21st March 2018)
address of A[i]= Base address storage size of one element -in byte*(i - lower bound of subscript )
|
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |