fork download
  1. #include <stdio.h>
  2.  
  3. int sum(int x,int y){
  4. return x+y;
  5. }
  6.  
  7. int cube(int x){
  8. return x*x*x;
  9. }
  10.  
  11. int main(void) {
  12.  
  13. int a,b;
  14. a=2;
  15. b=-3;
  16. printf("%d",cube(sum(a,b)));
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5328KB
stdin
Standard input is empty
stdout
-1