Hello everyone,

I just bought Alex' eBook, and i noticed somethign that i thought was wrong.

In the book, there is this if statement:

Alex said that this willCode:`if ( x != 0 && 10 / x < 2 ){`

cout << "10 / x is less than 2";

}

firstcheck if x != 0, and then if 10 / x smaller is than 2. But i've read somewhere that c++ code is read from right to left. so then the first statement to be checked would be if 10 / x < 2.

So now i'm curious what is the truth XD

Thanks for any replies!:wink: