Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.lang.c Subject: Re: address of function Message-ID: <1817@auspex.auspex.com> Date: 13 Jun 89 04:26:45 GMT References: <2700@solo8.cs.vu.nl> <370@msor0.UUCP> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 15 > ... and does ANSI permit the following ? > > int this[100], *that = &this; No. It does permit int this[100], (*that)[100] = &this; since "&this" is a pointer to "this", and "this" is an array of 100 "int"s, so "&this" is a pointer to an array of 100 "int"s (not a pointer ot a single "int" - yes, the type "pointer to array" exists, and int (*that)[100]; declares "that" to have type "pointer to array of 100 "int"s).