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