J
James Curran
In recent weeks, I've twice come upon people who consider the short-
curcuited evaluation of logical && (and ||) to be just a vendor-
defined compiler quirk, and recommend against depending on it.
To help me reason with these people, can anyone here:
1) Verify that short-curcuit evaluation is specified in the orginal
K&R "C Programming Lanuage" (I only have the ANSI 2ed)
2) Can anyone recall a early C compiler where this was this was broken?
curcuited evaluation of logical && (and ||) to be just a vendor-
defined compiler quirk, and recommend against depending on it.
To help me reason with these people, can anyone here:
1) Verify that short-curcuit evaluation is specified in the orginal
K&R "C Programming Lanuage" (I only have the ANSI 2ed)
2) Can anyone recall a early C compiler where this was this was broken?