fork download
  1. #include <stdio.h>
  2.  
  3. #define Square(x) ({ typeof (x) _x = (x); _x * _x; })
  4.  
  5. int main() {
  6. int x = 5;
  7. printf("%d\n", Square(x++));
  8. printf("x now is %d!\n", x);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 1788KB
stdin
Standard input is empty
stdout
25
x now is 6!