10-06-2011, 07:09 AM
The relevant section in C99 is 6.5.8(6):
The usual arithmetic conversions take place on the operands before the the comparison takes place.
Quote:Each of the operators(greater than), = (greater than or equal to) shall yield 1 if the speciï¬ed relation is true and 0 if it is false. The result has type int.
The usual arithmetic conversions take place on the operands before the the comparison takes place.
<t></t>