is there anything wrong with return(n) from main?

Stephen J. Friedl friedl at vsi.UUCP
Fri Jul 1 10:06:06 AEST 1988


Hi net.folks,

     For some unknown reason, I have always felt uncomfortable
doing a return(n) from main: I used exit(n) instead.  Can anybody
think of any possible reason why a return is not a good idea?  I
have the feeling that my discomfort is entirely unfounded...

     Steve
-- 
Steve Friedl     V-Systems, Inc. (714) 545-6442     3B2-kind-of-guy
friedl at vsi.com     {backbones}!vsi.com!friedl    attmail!vsi!friedl

Nancy Reagan on John DeLorean: "Just say snow"



More information about the Comp.lang.c mailing list