title: What values can you assign to an unsigned char?
body: <p>Let's say a function needs to return the bit pattern 00100010. </p>
  
  <p>I want to return this pattern with the 5th bit from the right to be on.  </p>
  
  <p>Is this valid? </p>
  
  <p>The function takes in the parameter <code>settings</code> which represents 00100010. </p>
  
  <pre><code>unsigned char mask = 20; 
  return mask | settings;  
  </code></pre>
  
  <p>or is it not possible to assign the value <code>20</code> to an <code>unsigned char</code>?  </p>