title: Swap bits in a number in C
body: <p>In a C interview, I was asked to swap the first 4-bits of a number with the last 4 bit. (eg. 1011 1110 should be 1110 1011.)</p>
  
  <p>Does anyone have a solution for this?</p>