Passing values to functions
Peter J. Holsberg
pjh at mccc.UUCP
Fri Feb 26 01:01:52 AEST 1988
Dumb question: if in an assignment like
x = 3;
where x is declared a double, the 3 is simply widened to the size of a
double, why does this fail?
min = minimum( min, x );
where
double minimum( double, double );
Thanks.
--
Peter Holsberg UUCP: {rutgers!}princeton!mccc!pjh
Technology Division CompuServe: 70240,334
Mercer College GEnie: PJHOLSBERG
Trenton, NJ 08690 Voice: 1-609-586-4800
More information about the Comp.lang.c
mailing list