On 1/18/07, malaram kumhar <[EMAIL PROTECTED]> wrote:
How does this expression could be solve and what is the value of a and b? int a=13; b=++a + ++a;
Modifying a variable twice between sequence points like this produces undefined behavior. In other words, your compiler is free to do anything it wishes, including formatting your hard drive or blowing up your monitor. Take my advice, don't do things like this, don't try to make up an explanation, it's futile, you'll learn nothing from it. -- Tamas Marki
