What type is yielded by bitwise & | ^

Doug Gwyn gwyn at smoke.brl.mil
Tue Dec 4 01:30:41 AEST 1990


In article <2881 at lupine.NCD.COM> rfg at lupine.ncd.com (Ron Guilmette) writes:
>In the case of bitwise-and, bitwise-ior, and bitwise-xor however I can't
>see where the result type is defined.

The standard says that the usual arithmetic conversions are applied.
Section 3.2.1.5 explains what this means.



More information about the Comp.std.c mailing list