fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int a = 1;
  6. int b = 2;
  7. int c = 0;
  8.  
  9. a = b * ++c;
  10. printf( "%d", a );
  11.  
  12. a = 1;
  13. c = 0;
  14. c = c + 1;
  15. a = b * c;
  16. printf( "%d", a );
  17.  
  18. return 0;
  19. }
  20.  
Success #stdin #stdout 0s 10320KB
stdin
Standard input is empty
stdout
22