fork download
  1.  
  2. #include <stdio.h>
  3. #define MULTIPLY(a, b) a*b
  4. int main()
  5. {
  6. // The macro is expanded as 2 + 3 * 3 + 5, not as 5*8
  7. printf("%d", MULTIPLY(2+3, 3+5));
  8. return 0;
  9. }
  10.  
  11.  
Success #stdin #stdout 0s 4376KB
stdin
Standard input is empty
stdout
16