fork(1) download
  1. #include<stdio.h>
  2. int main(void) {
  3. int a, b, *p, *q;
  4. p = &a; q = &b; *q = 1; a = 3; b = *p;
  5. printf("%d, %d, %d, %d¥n", a, b, *p, *q );
  6. return 0; }
Success #stdin #stdout 0s 5288KB
stdin
5 4 5 2 2 9
stdout
3, 3, 3, 3¥n