title: How to perform rotate shift in C
body: <p>I have a question as described: how to perform rotate shift in C without embedded assembly. To be more concrete, how to rotate shift a 32-bit <code>int</code>.</p>
  
  <p>I'm now solving this problem with the help of type <code>long long int</code>, but I think it a little bit ugly and wanna know whether there is a more elegant method.</p>
  
  <p>Kind regards.</p>