Hello all,
When I run this code:
The output is:Code:#include <stdio.h> void main() { int k = 35 ; printf ( "\n%d %d %d", k == 35, k = 50, k > 40 ) ; }
I can't get how the compiler dealt with this...Code:0 50 0
The only explanation is: The code is executed from right to left. So firstly, k is equal to 35. k > 40 is false. New value is assigned to k. k == 35 is false.
Any help?
Thanks in advance.