Shouldn\'t the value of i be 0? Since x
#include int main(void) { int x = 10,y=20,z=5,i; i=x
In your code, due to the LTR associativity of the relational operators,
i=x
evaluates to
i=(x
which is
i=(10<20)
i= 1 < 5;
which is TRUE (1). That 1 gets stored in i. That's it.
1
i