#include<stdio.h>int main(){ int i=1; while() { printf("%d\n", i++); if(i>10) break; } return 0;}
Standard input is empty
prog.c: In function ‘main’: prog.c:5:11: error: expected expression before ‘)’ token while() ^
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!