fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6. int x;
  7. do
  8. {
  9. scanf("%d",&x);
  10. printf("%d",x);
  11.  
  12. }
  13. while(x!=42)
  14.  
  15. return 0;
  16. }
  17.  
  18.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function 'main':
prog.c:15:5: error: expected ';' before 'return'
     return 0;
     ^
stdout
Standard output is empty