It would be helpful if anybody can explain this.
int main() { int a=0; if(a=0) printf("a is zero\t"); else printf("a is not zero\t"); printf("Value of a is %d\n",a); return 0; }
output of this is
a is not zero Value of a is 0