Why does "n&1 == 0" always return false?
<p>Why does the expression <code>n&amp;1 == 0</code> always return <code>false</code>, where <code>n</code> is an integer?</p>

<p>I want to use bitwise operation to determine whether <code>n</code> is even. However, it always return false. (The clion also prompted me that it always returns <code>false</code>).</p>

<p>What's more, it works when I use <code>n&amp;1 != 0</code> to determine whether <code>n</code> is odd.</p>