How to do run-time array declaration?

Chris Torek chris at mimsy.UUCP
Wed Sep 21 23:53:57 AEST 1988


In article <13649 at mimsy.UUCP> I wrote:
>What you can do is simple, if somewhat limited.  The C language assumes
>a `locally flat' address space: any single object has a contiguous address
>space, and a pointer that points somewhere within such an object may be
>used (with pointer arithmetic) to refer to other parts of that object.

Oops: this is probably unclear.  By `single object' I really meant
`single array object', since that is the only case where pointer
arithmetic is legal anyway.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.lang.c mailing list