title: Are (bool)(i & 1) and i % 2 == 1 same?
body: <p>Are <code>(bool)(i &amp; 1)</code> and <code>i % 2 == 1</code> always same where <code>i</code> is <code>int</code>?</p>
  
  <p>Note: saying always I mean for all platforms (even when a byte is 16 bit) and for all standards of C and C++.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>For all standards of C and C++ where <code>bool</code> exist.</p>