Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Implementation of Contiguous Arrays• Access function maps subscript expressions to the addressof an element in the array.• Single-Dimensional Arrays:– implemented as a block of adjacent memory cells.– access function for single-dimensioned arrays (row major):A : array (L..U) of elem_type;address(A[k]) = address(A[L]) + (k – L) ∗ element_sizeLecture 061-24