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