Integral conversions in C/C++

Tom St Denis tstdenis@ellipticsemi.com
Mon Apr 21 15:55:00 GMT 2008


Christian Böhme wrote:
> Andrew Haley wrote:
>
>> Section 5 Para. 9
>
> That's talking about _relational_ operators and starts with
>
> "The usual arithmetic conversions are performed on operands of
>  arithmetic or enumeration type."
>
> going on about pointer conversions ectpp.  My example did,
> however, neither.  Any more pointers ?

Read section 2.7 (pp. 45) of the C programming language book (K&R's book).

While not the "standard," it discusses the same rules.

Tom





More information about the Gcc-help mailing list