Path: utzoo!utgpu!watserv1!watmath!att!att!linac!pacific.mps.ohio-state.edu!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: is (int (*)())NULL legal when NULL is (void *)0? Message-ID: <14517@smoke.brl.mil> Date: 17 Nov 90 21:04:54 GMT References: <14484@smoke.brl.mil> <14498@smoke.brl.mil> <27780@mimsy.umd.edu> Organization: U.S. Army Ballistic Research Laboratory, APG, MD. Lines: 8 In article <27780@mimsy.umd.edu> chris@mimsy.umd.edu (Chris Torek) writes: >This would make it difficult to pass a `nil pointer to function of no >arguments returning int' to a function for which no prototype can be >provided. But not impossible, as a suitable pointer variable initialized to a null pointer (trivially accomplished) could be used. You could even define it to be const-qualified and hope the compiler is good at optimizations.