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