--- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: > > On Sun, Sep 28, 2008 at 2:22 PM, John Matthews <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "Paul Herring" <pauljherring@> wrote: > >> > >> On Sun, Sep 28, 2008 at 6:38 AM, Asim Mian <asim_withlove@> wrote: > >> > In both the cases answer will be 10..... > >> > >> Not every time it won't. You're still invoking undefined behaviour. > > > > ...so it might :-) > > > > I know what you mean, but of course unless you have a sadistic > > compiler, unfortunately it *is* likely you will get the same result > > every time you run it. It would be much better if it gave a random answer. > > It does on my DS9K ;)
Sounds like you got off lightly... http://en.wikipedia.org/wiki/DeathStation_9000 "On a DS9K, it is possible (even probable) that executing that statement will cause demons to fly out of the user's nose."
