Order of evaluation and parentheses
Chris Torek
chris at mimsy.UUCP
Tue Mar 10 15:40:54 AEST 1987
Incidentally, while FORTRAN does require the compiler to obey
parentheses grouping in determining order of evaluation, it is
worthwhile to note that FORTRAN also does not have a preprocessor
that often introduces `extra' parentheses. One does not write
#define max(a, b) ((a) > (b) ? (a) : (b))
in FORTRAN.
--
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
UUCP: seismo!mimsy!chris ARPA/CSNet: chris at mimsy.umd.edu
More information about the Comp.lang.c
mailing list