why does printf behave differently in the following example

Printable View