C99 defines <
, >
, <=
, and >=
to be /relational operators/, and it defines ==
and !=
to be /equality operators/..
If a for
or while
statement uses a loop counter, than it is safer to use a relational operator (such as <
) to terminate the loop than using an equality operator (such as !=
).
...