fork download
  1. #include <stdio.h>
  2. #define SUB_UNSAFE(x, y) x * y
  3. #define SUB(x, y) ((x) * (y))
  4.  
  5. int main(void) {
  6. printf("%d\n", SUB_UNSAFE(4 - 4, 2));
  7. printf("%d\n", SUB(4 - 4, 2));
  8. }
  9.  
  10. //http://pt.stackoverflow.com/q/192041/101
Success #stdin #stdout 0s 4564KB
stdin
Standard input is empty
stdout
-4
0