soorajk...@gmail.com wrote:
Hi friends,
Can u plz tell me why
printf("%d",printf(" Hello World "));
prints Hello World13.
Please explain the concept in detail.
From the man page for printf:
Upon successful return, these functions return the number of
characters printed ...
The inner printf printf " Hello World " and returns the number of
characters printed, namely 13. The outer printf then prints "13".