Tips for golfing in C What general tips do you have for golfing in C? I'm looking for ideas that can be applied to code golf problems in general that are at least somewhat specific to C (e.g. "remove comments" is not an answer). Please post one tip per answer. Also, please include if your tip applies to C89 and/or C99 and if it only works on certain compilers.
Use bitwise XOR to check for inequality between integers:

if(a^b) instead of if(a!=b) saves 1 character.