Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!uflorida!travis!shirono From: shirono@ssd.csd.harris.com (Roberto Shironoshita) Newsgroups: comp.lang.c Subject: Re: initialization Message-ID: Date: 1 Aug 90 21:10:47 GMT References: <1990Aug1.011654.22068@ccu.umanitoba.ca> <1990Aug1.170117.21763@zoo.toronto.edu> Sender: news@travis.csd.harris.com Reply-To: shirono@ssd.csd.harris.com Organization: Harris Computer Systems Lines: 19 In-reply-to: henry@zoo.toronto.edu's message of 1 Aug 90 17:01:17 GMT In article <1990Aug1.170117.21763@zoo.toronto.edu> henry@zoo.toronto.edu (Henry Spencer) writes: > In article <1990Aug1.011654.22068@ccu.umanitoba.ca> rpjday@ccu.umanitoba.ca writes: > > int i = a, j = i + 1 ; > > The scope of the variable `i' starts at the `=' following `i', so it is > a perfectly legal variable for use in initializing `j'. Would the comma (,) separating the two variables (i and j) be considered a sequence point then? Or do we have no guarantees as to the value j is initialized to? -- Roberto Shironoshita || Internet: shirono@ssd.csd.harris.com Harris Corporation || Computer Systems Division || UUCP: ...!uunet!hcx1!shirono || DISCLAIMER: The opinions expressed here are my own; they in no way reflect the opinion or policies of Harris Corporation.