Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 304 Bytes

4.12.md

File metadata and controls

5 lines (3 loc) · 304 Bytes

The expression i != j < k is the same with i != (j < k).

First, j < k is evaluated and the result is a bool(either true or false).

Second, i != true or i != false is evaluated. Since i is an int, the bool will be converted to int, which means i != 1 or i != 0 is evaluated.