C puzzle

Chris Torek chris at mimsy.UUCP
Fri Aug 25 12:31:46 AEST 1989


In article <1614 at cbnewsl.ATT.COM> dfp at cbnewsl.ATT.COM (david.f.prosser) writes:
>You are correct that the length of the array is only necessary
>in this example if the "x++;" statement is included.  Pointers
>to unspecified-sized arrays are valid in the pANS.

So they are.  Oops, disregard parts of my previous followup....

(I still think they ought to be an error, although this would prevent
taking the address of an array of unknown size.)
-- 
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.std.c mailing list