Merging bitshifts
<p>I'm trying to exact a 3 bit value from a byte for example:</p>

<pre><code>unsigned char r = ((253 &lt;&lt; 5) &gt;&gt; 5);
</code></pre>

<p>Result value should be <code>5</code> but why does it returns 253?</p>
