I was just reading
ISO/IEC 9899:201x Committee Draft — April 12, 2011
in which i found under 5.1.2.2.3 Program termination
It returns return value of printf which is number of characters really printed out.
printf