(* func)(fred, bert)
Charles Hannum
CMH117 at PSUVM.BITNET
Wed Nov 15 03:58:28 AEST 1989
The only problem I can forsee with declaring main() as a void is that the
return value will be undefined. While this will not be a problem on most
systems (since you probably wouldn't be checking the return code anyway),
I know that specifically on VM/CMS *ANY* non-zero return code is flagged
as an error, and rightly so.
As far as I'm concerned, main() should ***ALWAYS*** return a value, even
if it is merely a zero.
--
- Charles Martin Hannum II "Klein bottle for sale... Inquire within."
(and PROUD OF IT!!!) "To life immortal!"
c9h at psuecl.psu.edu "No noozzzz izzz netzzznoozzzzz..."
cmh117 at psuvm.psu.edu "Memories, all alone in the moonlight ..."
More information about the Comp.lang.c
mailing list