fork download
  1. #include <stdio.h>
  2.  
  3. #define MAX(a, b) ((a) > (b) ? (a) : (b))
  4.  
  5. int main(void) {
  6. int a = 4;
  7. int b = 6;
  8.  
  9. int max = MAX(a, b++);
  10.  
  11. printf("a: %d, b: %d, max: %d\n", a, b, max);
  12.  
  13. // your code goes here
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 2112KB
stdin
Standard input is empty
stdout
a: 4, b: 8, max: 7