title: What is the difference between %d and %*d in c language?
body: <p>What is <code>%*d</code> ? I know that <code>%d</code> is used for <code>integers</code>, so I think <code>%*d</code> also must related to integer only? What is the purpose of it? What does it do?</p>
  
  <pre><code>int a=10,b=20;
  printf("\n%d%d",a,b);
  printf("\n%*d%*d",a,b);
  </code></pre>
  
  <p>Result is </p>
  
  <pre><code>10 20 
  1775 1775 
  </code></pre>