0
How does if(x==x==x) condition is evaluated in c++
The answer is true if x=1, how?
3 Réponses
+ 2
Precedence of == operator is from left to right. So first x == x from left is evaluated and then the result with the another x.
The answer is true if x=1, how?