Multidimensional Static Array Initialization Follow-up

Chris Torek chris at mimsy.UUCP
Tue Aug 23 23:17:39 AEST 1988


[questions and answers about when array sizes can be elided deleted]

In article <8584 at ihlpb.ATT.COM> tainter at ihlpb.ATT.COM (Tainter) writes:
>It isn't just an issue of the initializer.  Consider code referencing the
>above entity foo.  As long as only one dimension is unknown C can generate
>code to manipulate the structure without requiring patching at link time.

The question was about initialised arrays---specifically, about the
cases where the compiler is able to deduce the dimensions.  Hence
*none* of the dimensions are unknown; they are merely left up to the
compiler to count.
-- 
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