fork download
  1. #include<stdio.h>
  2. int main(){
  3. int i = 10;
  4. int j = 10;
  5.  
  6. j = ++(i | i);
  7. printf("%d %d\n", j, i);
  8.  
  9. j = ++(i & i);
  10. printf("%d %d\n", j, i);
  11.  
  12. return 1;
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:6:17: error: lvalue required as increment operand
prog.cpp:9:17: error: lvalue required as increment operand
stdout
Standard output is empty