title: Scanf syntax - %6d and %-6d and %0d
body: <p>What are the differences between using <code>scanf</code> with the following format specifiers, when the input being scanned is <code>123456</code> versus when it's <code>123</code>:</p>
  
  <ul>
  <li><code>%6d</code></li>
  <li><code>%-6d</code></li>
  <li><code>%0d</code></li>
  </ul>
  
  <p>What are the differences in the output?</p>