fork download
  1. #include <stdio.h>
  2. main()
  3. {
  4. int i;
  5. i=1
  6. while(i>5)
  7. {
  8. printf("%d\n",i);
  9. i++;
  10. }
  11. }
Compilation error #stdin compilation error #stdout 0s 2164KB
stdin
Standard input is empty
compilation info
prog.c:2:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main()
 ^
prog.c: In function 'main':
prog.c:6:5: error: expected ';' before 'while'
     while(i>5)
     ^
prog.c:4:9: warning: variable 'i' set but not used [-Wunused-but-set-variable]
     int i;
         ^
stdout
Standard output is empty