title: printing the binary representation of a number
body: <p>What is wrong with the below code which prints the binary representation of a number?</p>
  
  <pre><code>int a = 65;
  for (int i = 0; i &lt; 8; i++) {
      cout &lt;&lt; ((a &gt;&gt; i) &amp; 1);
  }
  </code></pre>