title: unsigned char rotate
body: <p>I'm a little bit confused as to what an unsigned char is. A signed char is the representation of the char in bit form right? A sample problem has us rotating to the right by n bit positions, the bits of an unsigned char with this solution:</p>
  
  <pre><code>unsigned char rotate(unsigned char x, int n) {
      unsigned char temp = x &lt;&lt; 8 - n;
      x = x &gt;&gt; n;
      return (x | temp);
  }
  </code></pre>
  
  <p>If anyone could explain with char examples and their respective bits, it would be greatly appreciated. Thanks so much.</p>