Path: utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!houdi!marty1 From: marty1@houdi.UUCP (M.BRILLIANT) Newsgroups: comp.lang.c Subject: Re: Address of Array Summary: Can't reference address of pointer to array Message-ID: <1442@houdi.UUCP> Date: 11 Dec 87 16:19:39 GMT References: <126@citcom.UUCP> <2550034@hpisod2.HP.COM> <1854@haddock.ISC.COM> <555@ndsuvax.UUCP> Organization: AT&T Bell Laboratories, Holmdel Lines: 13 In article <555@ndsuvax.UUCP>, ncbauers@ndsuvax.UUCP (Michael Bauers) writes: > The > address of the array a[10] is just a. The address of the first element > is also a (for single dimension arrays). The first element is *a. But > the address of the array's pointer ... should be &a. Huh? I tried writing a C program on UNIX(tm ATT) that referenced &a, and got the message "warning: & before array or function: ignored." That says there's no such thing as &a. M. B. Brilliant Marty AT&T-BL HO 3D-520 (201)-949-1858 Holmdel, NJ 07733 ihnp4!houdi!marty1