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