fork download
  1. #include <stdio.h>
  2.  
  3. int foo(int a, int b)
  4. {
  5. int ans;
  6. ans= a*b;
  7.  
  8. return ans;
  9. }
  10.  
  11. int main(void)
  12. {
  13. int a=1,b=3,c;
  14. c=foo(a,b);
  15. printf("%d\n",c);
  16. return 0;
  17. }
Success #stdin #stdout 0s 4752KB
stdin
Standard input is empty
stdout
3