title: Reading long int using scanf
body: <p>To read an <code>int</code> using scanf we use:</p>
  
  <pre><code>scanf("%d", &amp;i);
  </code></pre>
  
  <p>What if <code>i</code> is a <code>long</code> not <code>int</code>?? <br/></p>
  
  <p>Note: when using <code>%d</code> with <code>long</code> it gives me an irritating warning..</p>