fork(2) download
  1. #include<stdio.h>
  2. int fun(int *a)
  3. {
  4. return *a+=2;
  5. }
  6. int main()
  7. {
  8. //int i;
  9. printf("%d\n",fun((int[]){5}));
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
7