Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!crdgw1!camelback!volpe From: volpe@camelback.crd.ge.com (Christopher R Volpe) Newsgroups: comp.lang.c Subject: Re: sizeof() confusion Message-ID: <13504@crdgw1.crd.ge.com> Date: 7 Nov 90 23:10:47 GMT References: <9156@latcs1.oz.au> <58808@microsoft.UUCP> <27498@mimsy.umd.edu> Sender: news@crdgw1.crd.ge.com Reply-To: volpe@camelback.crd.ge.com (Christopher R Volpe) Lines: 17 In article <27498@mimsy.umd.edu>, chris@mimsy.umd.edu (Chris Torek) writes: |>`b' is in a value context, but `a' is not, because this puts the value |>of b into a, but says nothing about the value of a.) C happens to have |>about three contexts which are not value contexts: declarations, left |>hand side of assignment operators (including `i' in `++i' and `i++'), |>and following `sizeof'. Also, following "&". |>-- |>In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 405 2750) |>Domain: chris@cs.umd.edu Path: uunet!mimsy!chris ================== Chris Volpe G.E. Corporate R&D volpecr@crd.ge.com