Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.lang.c Subject: Re: Address of Array Summary: &a is like &0 Message-ID: <3137@tut.cis.ohio-state.edu> Date: 11 Dec 87 23:02:57 GMT References: <126@citcom.UUCP> ... Organization: Ohio State Computer & Info Science Lines: 19 In article <1442@houdi.UUCP>, marty1@houdi.UUCP (M.BRILLIANT) writes: > > 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 This is like taking the address of a constant, say &0435241250, which of course is silly. I have been programming in C for 5 1/2 years and I've never needed to take the address of an array (except via &a[0], or just a). Why do programmers want to do this? Whats the point? Do other languages let you do this? What is the advantage? I can't see any. Please enlighten me. -- Larry Cipriani AT&T Network Systems at cbosgd!osu-cis!tut!lvc Ohio State University