| Fox Harrell
|
77
|
 |
|
03-15-2004 04:31 PM PT (US)
|
|
Taybo:
Your answer is not correct. Think of it this way:
Would you draw the array layout differenly for integers vs reals (which take up more space in memory)? For allocation you actually need to know the sizes of array elements. Sethi says "the layout of the array determines the machine address of an element A[i] relative to the address of the first item." "The machine address" has to do with location, not size. Locations can be described using relative addresses.
|