PROBLEMS/RISKS DUE TO PRO
DARRELL GRAINGER
darrell.grainger at canremote.uucp
Mon Mar 5 09:38:00 AEST 1990
You would put a break; at the end of every case: statement 99% of the
time. There are times when you would let the case: statement fall
through to the next case statement. If the compiler was to put the
break; at the end of every case: statement there would be an occasional
problem.
C language is designed to be VERY flexible but this means the
programmer has to guard against little errors like the case: break;
situation.
Darrell
---
* Via ProDoor 3.1R
More information about the Comp.lang.c
mailing list