Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: Function argument type conversions... Message-ID: <14027@mimsy.UUCP> Date: 17 Oct 88 08:14:02 GMT References: <8810111921.AA21683@ucbarpa.Berkeley.EDU> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 In article <8810111921.AA21683@ucbarpa.Berkeley.EDU> U23405@UICVM.Berkeley.EDU (Michael J. Steiner) writes: >What I would like to know is if all function parameters (formal and actual) >agree in type, will there still be problems with taking the address of a >passed variable, (among other little things)? In a dpANS-conformant compiler, and with the exception of array and function parameters (which are rewritten to pointer declarations), no. (I.e., everything will work as expected.) In some existing compilers, yes, unless you stick with `int', `long', `double', and pointer function parameters. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris