SyntaxFix
Write A Post
Hire A Developer
Questions
== has higher precedence than &. You might want to wrap your operations in () to specify how you want your operands to bind to the operators.
==
&
()
((a[0] & 1) == 0)
Similarly for all parts of the if condition.
if