fork(1) download
  1. #include <iostream>
  2. #include "stdio.h"
  3. using namespace std;
  4.  
  5. int main() {
  6.  
  7. do {} while(0), printf("hello world\n");
  8.  
  9. // your code goes here
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 3136KB
stdin
Standard input is empty
compilation info
prog.cpp: In function 'int main()':
prog.cpp:7:16: error: expected ';' before ',' token
  do {} while(0), printf("hello world\n");
                ^
prog.cpp:7:16: error: expected primary-expression before ',' token
stdout
Standard output is empty