If you want to say: if (x == 0) Use: if (0 == x) If you want to say: if (x = y) Use: if ((x = y))
Back to Basic Operators slide