title: C "%d" format specifier
body: <p>The following code gives me the output as 'd':</p>
  
  <pre><code>void main()
  {
  
    short int a=5;
  
     printf("%d"+1,a);
  
     getch();
  
  }
  </code></pre>
  
  <p>How does <code>printf()</code> actually work?</p>