fork download
  1. #include <stdio.h>
  2.  
  3. int main(int c, char **v)
  4. {
  5. int a = 0;
  6. int b = 0;
  7. int *p;
  8. p = (c == 0) ? &a : &b;
  9. *p = 1;
  10. printf("%d %d\n", a, b);
  11. return 0;
  12. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
0 1