fork(1) download
  1. int max(int a,int b)
  2. {
  3. int result;
  4. if (a>b){
  5. result=a;}
  6. else{ result = b;}
  7. }
  8. #include <stdio.h>
  9. int main(void) {
  10. int a;
  11. a=max(4,8);
  12. printf("%d",a);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
Standard output is empty