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