For All Human Beings.......

Monday, November 17, 2008

Address Calculation (2-D Array)

  1. A two-dimensional array Q[5][15] is stored in memory along the row with each element requiring 2 bytes. If the base address is 6500, find out the following: a) Addresses of Q[5][10] and b)Q[3][5]
  2. R[-4..4,7..17] is a two-dimensional array, stored in the memory along the column with each element requiring 4 bytes. If the base address is 5000, find out the following:
    a) Addresses of R[2][10] and R[3][15]
    b) Total no. of elements present in the array
For functions and Notes on Arrays Click Here............

1 comment:

saurav pahwa said...

my name is saurav pahwa and i studied in kulachi till Xth standard.
your material of c++ is really great.thanxx for your such great efforts.i am now studying in dav pitampura,ND block.But the environment is very uncomfortable.


KULACHI ROXX