Newsgroups: comp.std.c Path: utzoo!henry From: henry@zoo.toronto.edu (Henry Spencer) Subject: Re: Parameter Types in Old-Style Function Definitions Message-ID: <1990Sep5.172815.3289@zoo.toronto.edu> Organization: U of Toronto Zoology References: <10391@pt.cs.cmu.edu> Date: Wed, 5 Sep 90 17:28:15 GMT In article <10391@pt.cs.cmu.edu> hjelm@g.gp.cs.cmu.edu (Mark Hjelm) writes: > f(a, b) > float a; > char b; > { > >Is the type of "a" (as seen inside of "f") float or double or either? >Is the type of "b" char or int or either? The types are, in all cases except arrays (which silently turn into pointers), precisely as declared. In general, this can involve conversions as part of the function-entry sequence. -- TCP/IP: handling tomorrow's loads today| Henry Spencer at U of Toronto Zoology OSI: handling yesterday's loads someday| henry@zoo.toronto.edu utzoo!henry