fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes her
  5. int b=2,c=1,max;
  6. if (b>c){max=b;
  7. printf("max=%d\n",max);}
  8. else {max=c;
  9. printf("max=%d\n",max);}
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
max=2