Path: csiph.com!2.us.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!border2.nntp.ams1.giganews.com!nntp.giganews.com!buffer2.nntp.ams1.giganews.com!buffer1.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Sun, 22 Jan 2017 08:02:53 -0600 From: Gareth Owen Newsgroups: comp.lang.c Subject: Re: Access structure members via pointer to an array of structures References: <87pojf5wk4.fsf@gmail.com> <87pojfxs1h.fsf@bsb.me.uk> Date: Sun, 22 Jan 2017 14:02:53 +0000 Message-ID: <87inp78a5u.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Ni+X9yb2ZrObr/aDBMLeEfkMhNU= MIME-Version: 1.0 Content-Type: text/plain Lines: 16 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-fiUr8iIgfLh9r5L+4RdogIAC4T/Ovzf5ZS9pWRBgUkzvJf+Cm+JFUOUU/NiWOpYwE+NaYNHpIUqM0Ug!1QFTklhkJ2nBaSsz9j9pPtoTKm0XDto+c7f5POfKN8hxTKsFK3Gt14nthVbfXRhl6LDqpI0= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 1616 Xref: csiph.com comp.lang.c:102324 Ben Bacarisse writes: >> f(char arr[10]){ >> printf("%s - %u\n",arr,(unsigned)sizeof(arr)); >> } > > There are no arrays in this code You are technically correct - the best sort of correct. Nevertheless, I think you know what I mean. > and I don't think Malcolm was talking about the interchangeability of > * and [] syntax in a parameter list. I have long since stopped worrying about discerning Malcolm is talking about.