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