Code:#include<stdio.h>
main()
{
int k=35;
printf ("%d %d %d", k==35, k=50, k>25);
}
I thought it was just comparing. Like it would return a 1 if k was 35 and a 0 if k was not not 35! But as it happens, even though I change the value of k, I can't see any change in the output. (It still remains 0)Code:Output:
0 50 1
Please clarify. :)