🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #2590

Re: Function Argument Evaluation

#2590
From: Dik T. Winter
Date: Mon, 25 Mar 1991 21:41
13 lines
990 bytes
In article <17868@crdgw1.crd.ge.com> volpe@camelback.crd.ge.com (Christopher R Volpe) writes:
 > In article <1991Mar23.014442.24307@cs.ucla.edu>, jon@maui.cs.ucla.edu
 > (Jonathan Gingerich) writes:
 > |>don't see how this affects the value of (p=&x) and (p=&y) which would 
 > |>remain &x and &y (given the correct type of p).
 > Ditto, again.
You both fail to see that the value of
	(lvalue = expression)
is *not* the value of 'expression' before assignment but the value of 'lvalue'
after assignment.
--
dik t. winter, cwi, amsterdam, nederland
dik@cwi.nl
Technical Details
Message-ID: <3216@charon.cwi.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!charon!dik
References: <15552@smoke.brl.mil> <1991Mar23.014442.24307@cs.ucla.edu> <17868@crdgw1.crd.ge.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!charon!dik
From: dik@cwi.nl (Dik T. Winter)
Newsgroups: comp.std.c
Subject: Re: Function Argument Evaluation
Message-ID: <3216@charon.cwi.nl>
Date: 25 Mar 91 21:41:57 GMT
References: <15552@smoke.brl.mil> <1991Mar23.014442.24307@cs.ucla.edu> <17868@crdgw1.crd.ge.com>
Sender: news@cwi.nl
Organization: CWI, Amsterdam
Lines: 13