10 commandments and the NULL pointer?
Doug Gwyn
gwyn at smoke.brl.mil
Fri Nov 9 18:31:15 AEST 1990
In article <681 at atcmpe.atcmp.nl> jc at atcmp.nl (Jan Christiaan van Winkel) writes:
>since you used prototypes, you can just as well use
> x = do_something(0, 0, 0);
Only if there is a prototype declaration of do_something() in scope;
it is better to not rely on such automatic pointer coercion (available
only under ANSI C) and instead just supply the right types.
More information about the Comp.lang.c
mailing list