EDIT:
I have a doubt in this program.
Code: Select all
int x = 15 ;
printf ( "\n%d %d %d", x != 15, x = 20, x < 30 ) ;
According to me: 0 20 1
Actually: 1 20 1
Similarly,
Code: Select all
int k = 35 ;
printf ( "\n%d %d %d", k == 35, k = 50, k > 40 ) ;According to me: 1 50 1
Actually: 0 50 0
So, How does it work to have a output like that?

