title: What does a # sign after a % sign in a scanf() function mean?
body: <p>What does the following code mean,in C </p>
  
  <pre><code>scanf("%d%#d%d",&amp;a,&amp;b,&amp;c);
  </code></pre>
  
  <p>if given values <code>1 2 3</code> it gives output as <code>1 0 0</code></p>
  
  <p>P.S- I know it is used with <code>printf()</code> statement but here in <code>scanf()</code> statement it gives random behaviour.</p>