void main(void){int n=0;if(n=0)n=1;else if (n=1)n=2;else if (n=2)n=3;else if (n=3)n=4;printf("%d\n",n);}
Standard input is empty
2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!