fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int k = 5;
  5. (++k)++;
  6. printf("%d", k);
  7. return 0;
  8. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c: In function ‘main’:
prog.c:5:10: error: lvalue required as increment operand
     (++k)++;
          ^
stdout
Standard output is empty