title: Bit order in C/C++
body: <p>I have to implement a protocol which defines data in 8bit words, which starts with the least significant bit (LSB) first. I want to realize this data with <code>unsigned char</code>, but I don't know what's the bit order of LSB and most significant bit (MSB) in C/C++, that could possible require swapping the bits.</p>
  
  <p>Can anybody explain me how to find out an <code>unsigned char</code> is encoded: with MSB-LSB or LSB-MSB?</p>
  
  <p>Example:</p>
  
  <p><code>unsigned char b = 1;</code></p>
  
  <p><code>MSB-LSB: 0000 0001</code>
  <code>LSB-MSB: 1000 0000</code></p>