Computer Science, asked by vamsi309, 1 year ago

Write the address transtation function of 2 dimensional array

Answers

Answered by lichidash48pbhfh2
0
which language do u want it in c++ or java??

Answered by shaktiboss007pbhev0
0

Array of an element of an array say “A[ I ]” is calculated using the following formula:

Address of A [ I ] = B + W * ( I – LB )

Where,
B = Base address
W = Storage Size of one element stored in the array (in byte)
I = Subscript of element whose address is to be found
LB = Lower limit / Lower Bound of subscript, if not specified assume 0 (zero)


Attachments:
Similar questions