On Sun, Sep 28, 2008 at 2:22 PM, John Matthews <[EMAIL PROTECTED]> wrote: > --- In [email protected], "Paul Herring" <[EMAIL PROTECTED]> wrote: >> >> On Sun, Sep 28, 2008 at 6:38 AM, Asim Mian <[EMAIL PROTECTED]> 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 ;) -- PJH http://shabbleland.myminicity.com/
