Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!mephisto!ncar!groucho!steve From: steve@groucho.ucar.edu (Steve Emmerson) Newsgroups: comp.lang.c Subject: Re: p[1] vs. *(p+1) Message-ID: <8382@ncar.ucar.edu> Date: 2 Sep 90 17:13:54 GMT References: <1990Aug31.190103.15043@laguna.ccsf.caltech.edu> <0901@sheol.UUCP> Sender: news@ncar.ucar.edu Organization: University Corporation for Atmospheric Research (UCAR) Lines: 11 In <0901@sheol.UUCP> throopw@sheol.UUCP (Wayne Throop) writes: >Or to try putting it another way, I think it is misleading to say that >"adding one to p 'really' adds sizeof(*p) to p". I disagree. I say it >"really" adds 1, and the result points at an element in the array into >which p points which is offset exactly 1 array element from where p >points. Isn't the point moot if a conforming program can't tell the difference? Steve Emmerson steve@unidata.ucar.edu ...!ncar!unidata!steve