fork download
  1. #include <stdio.h>
  2. int func(int x,int y){
  3. return (x>y)?x:y;
  4. }
  5. int main(void) {
  6. // your code goes here
  7. int x=3,y=8,z=5;
  8. printf("%d",func(func(x,y),func(y,z)));
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
8