Re: How does printf() works
santosh said:
<snip>
You think correctly. The "as if" rule conquers all.
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
santosh said:
<snip>
As long as the "as if" rule is followed and there is no observable
difference in behaviour, the compiler is free to do whatever it wants
with your code. Or at least, I think so.
difference in behaviour, the compiler is free to do whatever it wants
with your code. Or at least, I think so.
--
Richard Heathfield <http://www.cpax.org.uk >
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
Comment