highlight'>1</td><td>0</td><td class='highlight'>1</td><td class='highlight'>1</td><td>0</td></tr>
</table>

<pre>
unsigned char num = 255;
num &= ~(1 << 0);
num &= ~(1 << 3);
num &= ~(1 << 5);
</pre>

<p>To read value of bit:</p>

<pre>(num >> bit) & 1;</pre>

<p>If Bit 7 is not set (as in the first example) the representation of signed and unsigned numbers is the same. However, when Bit 7 is set, the number is always negative. For this reason Bit 7 is sometimes called the sign bit.</p>

<table width="289"