Common Mistakes
Translating condition in English to C:
Let lower be 10, and upper be 30.If x is 20, (lower <= x) is true, so it is evaluated to 1. Since (1 <= upper) is also true, condition is true!
Previous slide
Next slide
Back to first slide
View graphic version