Article View: comp.std.c
Article #6114Re: Bounds checks. (was variable-length struct hack)
From: Esmond Pitt
Date: Thu, 14 Dec 1989 23:56
Date: Thu, 14 Dec 1989 23:56
17 lines
1090 bytes
1090 bytes
>In article <1989Dec12.190347.13521@twwells.com> bill@twwells.com (T. William Wells) writes: >The two are exactly the same: > > &A[N] = &(*(A + N)) = A + N Is this really correct? &(*(anything)) does not have a defined meaning anywhere else in C. Perhaps we mean: &A[N] = &A[0+N] = &A[0]+N = A+N -- Esmond Pitt, Computer Power Group ejp@bohra.cpg.oz
Technical Details
Message-ID:
<238@bohra.cpg.oz>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!bohra!ejpReferences:
<448@longway.TIC.COM> <450@longway.TIC.COM> <15364@haddock.ima.isc.com> <809@prles2.UUCP> <1989Dec8.161820.24804@jarvis.csri.toronto.edu> <1989Dec11.181631.3864@jarvis.csri.toronto.edu> <1989Dec12.190347.13521@twwells.com> <466@cpsolv.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!murtoa.cs.mu.oz.au!ditmela!yarra!bohra!ejp From: ejp@bohra.cpg.oz (Esmond Pitt) Newsgroups: comp.std.c Subject: Re: Bounds checks. (was variable-length struct hack) Message-ID: <238@bohra.cpg.oz> Date: 14 Dec 89 23:56:33 GMT References: <448@longway.TIC.COM> <450@longway.TIC.COM> <15364@haddock.ima.isc.com> <809@prles2.UUCP> <1989Dec8.161820.24804@jarvis.csri.toronto.edu> <1989Dec11.181631.3864@jarvis.csri.toronto.edu> <1989Dec12.190347.13521@twwells.com> <466@cpsolv.UUCP> Reply-To: ejp@bohra.cpg.oz (Esmond Pitt) Organization: Computer Power Group, Melb, Australia Lines: 17