Access of array
- 2. Accessing of array elements:-
35 33 42 10 14 19 27 44 26 31
0 1 2 3 4 5 6 7 8 9
Index Value
100 102 110104 106 108 ………………………….118
Base Address
Base address
Data type
Location
- 3. Find the address of elements 42 which index
value is 2 and base address 100?
100+2x2=address
Address=100+4
=104.