Article View: comp.std.c
Article #1644Re: Parameter Types in Old-Style Function Definitions
From: Walter Bright
Date: Thu, 06 Sep 1990 01:30
Date: Thu, 06 Sep 1990 01:30
17 lines
826 bytes
826 bytes
In article <10391@pt.cs.cmu.edu> hjelm@g.gp.cs.cmu.edu (Mark Hjelm) writes:
<What is the compiler allowed/required to do for this:
< f(a, b)
< float a;
< char b;
< {
< }
It is semantically equivalent to:
f(atmp,btmp)
double atmp;
int btmp;
{ float a = atmp;
char b = btmp;
....
}
Technical Details
Message-ID:
<2689@dataio.Data-IO.COM>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!dataio!brightReferences:
<10391@pt.cs.cmu.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!zaphod.mps.ohio-state.edu!wuarchive!mit-eddie!uw-beaver!sumax!amc-gw!pilchuck!dataio!bright From: bright@Data-IO.COM (Walter Bright) Newsgroups: comp.std.c Subject: Re: Parameter Types in Old-Style Function Definitions Keywords: parameter, function Message-ID: <2689@dataio.Data-IO.COM> Date: 6 Sep 90 01:30:57 GMT References: <10391@pt.cs.cmu.edu> Organization: Data I/O Corporation; Redmond, WA Lines: 17