Parentheses

Jim Vlcek vlcek at mit-caf.MIT.EDU
Thu Jul 7 12:17:15 AEST 1988


In article <326 at marob.MASA.COM> daveh at marob.UUCP (Dave Hammond) writes:

>Is different code produce by the compiler for "return n" and "return(n)" ?

Just as a side note, it's worth keeping in mind that return is a C
statement, not a function.  exit(), on the other hand, is a library
function.  With this in mind, ``return n'' is probably preferable to
``return (n)''.
-- 
Jim Vlcek
vlcek at caf.mit.edu
!{ihnp4,harvard,seismo,rutgers}!mit-eddie!mit-caf!vlcek



More information about the Comp.lang.c mailing list