IT Log

Record various IT issues and difficulties.

Explain why the output is 0 when int a=1==0; in C language.


The output is 0 when int a = 1 == 0; because the expression evaluates as follows:

Thus, a becomes .


, , , ,