1.

Give the formula to calculate Base address of one-dimensional array in memory.

Answer»

The formula to calculate the memory address of an array element is Base-Address + W ( Position - LB ) Where W is number of words per memory cell, position is location of array element for which memory address is calculated, LB is Lower bound (index) of an array.



Discussion

No Comment Found

Related InterviewSolutions