Home > Back-end >  There is something wrong with bit operations that use why
There is something wrong with bit operations that use why

Time:10-06

This sentence is really what is going wrong?

CodePudding user response:

Just for % 2==0

CodePudding user response:

Because the==priority than & amp; An operator, so the first execution of judgement is==

Carefully read all operator precedence on

Write their own code uncertain several more parentheses

CodePudding user response:

Fun
reference 2 floor response:
because==priority than & amp; An operator, so the first execution of judgement is==

Carefully read all operator precedence on

Not sure when writing your own code a few more brackets
thank you

CodePudding user response:

Can the if ((a ^ [I] a [I + 1]) & amp; 1) {... }


  • Related