#include <stdio.h> int main(void) {int i=0, x=3;while((x---1)){ i++; }printf("i=%d\n", i); return 0;}
Standard input is empty
i=2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!