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