Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcvax!hp4nl!botter!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.lang.c Subject: Re^2: address of function Message-ID: <2750@piraat.cs.vu.nl> Date: 13 Jun 89 17:25:20 GMT References: <2700@solo8.cs.vu.nl> <370@msor0.UUCP> <13685@haddock.ima.isc.com> Organization: V.U. Informatica, Amsterdam, the Netherlands Lines: 15 karl@haddock.ima.isc.com (Karl Heuer) writes: \... \ int this[100], (*that)[100] = &this; \which is analogous to \ int foo(void), (*bar)(void) = &foo; \ \This particular symmetry holds only if the explicit "&" is used. Writing \"this" without the ampersand yields the same as "&this", but writing "foo" \without the ampersand yields "&foo[0]", which is not the same as "&foo". \(Though they will compare equal if brought to a common type.) Ahum Karl, typo: this <-> foo. -- "I HATE arbitrary limits, especially when |Maarten Litmaath @ VU Amsterdam: they're small." (Stephen Savitzky) |maart@cs.vu.nl, mcvax!botter!maart