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