pointers to arrays and the '&' operator

Chris Torek chris at mimsy.UUCP
Fri Feb 17 02:24:02 AEST 1989


In article <3927 at ingr.com> crossgl at ingr.com (Gordon Cross) writes:
>I could not find any explicit reference to this in the standard (admittedly
>I have an old copy) ...

Either your copy is too old or you did not look hard enoguh:

>why am I not permitted to apply the '&' (address of) operator
>directly to an array?

The pANS allows it.  (PCC can be made to allow it by *removing* a few
statements from the compiler.)
-- 
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