fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a,b,max;
  5. printf("input a,b:");
  6. printf("%d,%d",&a,&b);
  7. if(a > b)max = a;
  8. if(a <=b)max = b;
  9. printf("max = %d\n",max);
  10. return 0;
  11. }
  12.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
input a,b:1720178128,1720178132max = 1720178368