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