Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.brl.mil (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: 10 commandments and the NULL pointer? Message-ID: <14405@smoke.brl.mil> Date: 9 Nov 90 07:31:15 GMT References: <2390@krafla.rhi.hi.is> <681@atcmpe.atcmp.nl> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 7 In article <681@atcmpe.atcmp.nl> jc@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.