I'm not sure if I answered this or not, the output is not strange.
printf can flush it buffer when it wants, so output is not guaranteed
to be as you write the calls.  If you want to flush it, you have to do
so explicitly.

Reply via email to