On Wed, May 13, 2009 at 11:26 AM, Michael Comperchio <[email protected]> wrote:
> Peter wrote:
>
>> The declaration...
>>
>> int a[2][3];
>>
>> ...is...
>>
>> |<--------- [0] ---------->|<---------- [1] --------->|
>> +--------+--------+--------+--------+--------+--------+
>> | [0][0] | [0][1] | [0][2] | [1][0] | [1][1] | [1][2] |
>> +--------+--------+--------+--------+--------+--------+
>
>
>
> --- You may find it useful to think this as you work with it, but in reality
> there is NO guarantee that this will be so. In today's massive memory spaces
> this is more likely to be so, but NOT guaranteed.

If it's declared as an array, it is guaranteed to be true, or your
program runs out of memory. Either that or your compiler is seriously
broken.



--
PJH

http://shabbleland.myminicity.com/com
http://www.chavgangs.com/register.php?referer=9375

Reply via email to