Parentheses around return.
utzoo!watmath!watarts!bernie
utzoo!watmath!watarts!bernie
Wed Mar 30 10:19:42 AEST 1983
There is *more* than a syntactic difference between exit() and return; one
is a built-in part of the language, while the other is a function peculiar
to the local computing environment. (There's nothing to say that every
environment that supports C must provide an exit() function, though most
do out of convenience). Anyone who programs in C ought to know the
distinction between the two, just as Fortran programmers ought to know
that CONTINUE is not a valid variable.
--Bernie Roehl
...decvax!watmath!watarts!bernie
More information about the Comp.lang.c
mailing list