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