Function argument type conversions...
Chris Torek
chris at mimsy.UUCP
Mon Oct 17 18:14:02 AEST 1988
In article <8810111921.AA21683 at ucbarpa.Berkeley.EDU> U23405 at 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 at mimsy.umd.edu Path: uunet!mimsy!chris
More information about the Comp.lang.c
mailing list