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