I am having trouble trying to understand how logical operators work in C. I already understand how the bit-level operators work, and I also know that logical operators treat
As you said the logical operators treat nonzero arguments as representing
(0x65 && 0x55) is equal as (0x65 > 0) && (0x55 > 0) 0x65 > 0 get true and 0x55 > 0 get true as well So (0x65 && 0x55) is equal true && true = 1