title: Reverse integer bitwise without using loop
body: <p>I want to write a program which reverses the bits of an integer.<br>
  Ex 11000101 to 10100011<br>
  I know how to solve this using a loop, but I came across solutions that do it using byte shift:</p>
  
  <pre><code>num&gt;&gt;4|num&lt;&lt;4
  </code></pre>
  
  <p>I don't understand how does this work. Can somebody hep me with this?</p>