Integers in C quiz
These examples do look scary. However, in my 16 years of experience of mostly writing In C, I have never found a single chance that I need to actually use the expressions that I got the answers wrong.Never mix unsigned and signed integer comparison unless you know exactly what you are doing.And never do arithmetic on boundaries definitions like INT_MAX, they are boundaries , why you need to compute a derived value on boundaries?If you do not need arithmetic behavior, do not use signed integer, use unsigned. Because computer does not understand sign, so if you do not need a sign, do not use it.You do not need to be a language committee member to write C , you just need to understand the reason behind its design.