fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int i = 0;
  6. ++i++;
  7. return i;
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:6:5: error: lvalue required as increment operand
  ++i++;
     ^
stdout
Standard output is empty