fork(3) download
  1. #include <stdio.h>
  2.  
  3. #define _MAX(x, y) (((x)>(y))?(x):(y))
  4.  
  5. #define MAX1(Y) _MAX(1,Y)
  6. #define MAX2 _MAX(2,0)
  7.  
  8. #define NEW_RIGHT MAX1(MAX2)
  9.  
  10. int main(void) {
  11. int k = NEW_RIGHT;
  12. printf("%d\n", k);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 2156KB
stdin
Standard input is empty
stdout
2