|
Posted by Toby Inkster on 04/09/06 23:54
Neredbojias wrote:
> As I said - a sop to the geeks. But it's interesting that by starting
> storage at some "round" number such as 1000, one leaves 999 memory
> addresses before it.
1000 was just for the purposes of illustration. The array could equally
be stored at address 0, or 6, or 21890 -- it's not a matter for the
programmer to worry unduly about -- compilers tend to do a pretty good job
of slotting tonnes of integers, strings, arrays, etc into memory with very
little free space in between.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Navigation:
[Reply to this message]
|