in Programming in C edited by
570 views
2 votes
2 votes

Consider the integer array $A\left [ 1.........100,1.......100 \right ]$ in which the elements are stored in $Z$ representation. An example of a $5\times 5$ array in $Z$ representation is shown below:

If the base address of $A$ is starting from $1000$ onwards, size of each element is $1B$ and $A$ is stored in Row Major Order, then the address corresponding to $A\left [ 100 \right ]\left [ 55 \right ]$ is ________________ 

in Programming in C edited by
by
570 views

4 Comments

ok, but index is 55

So, ans should be 1253

right?
0
0
Base address is 1000 so the address for the given element will be 1252
1
1
ok yes, thanks, I got it :)
0
0

Please log in or register to answer this question.

Related questions