fork download
  1. #include <stdio.h>
  2.  
  3. int multiply(int a,int b){
  4. return a * b;
  5. }
  6.  
  7. int main(void) {
  8. // implementation of code starts from here
  9. int a = 10,b = 20;
  10. printf("Handing control to method name multiply\n");
  11. int output = multiply(a,b);
  12. printf("control is handed back to caller method\n");
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5360KB
stdin
Standard input is empty
stdout
Handing control to method name multiply
control is handed back to caller method