title: Return value of printf() function in C
body: <p>The <code>printf()</code> function will return the number of characters printed. But in the code below 
  why is it printing 5.</p>
  
  <pre><code>int a=1000;
  printf("%d",printf("\n%d",a));
  </code></pre>
  
  <p>It prints "1000" once and a space, so altogether we have 2 characters. </p>
  
  <p>It should output "1000 2". But its outputting "1000 5".</p>