C Programming - One amoung the Two-> x = x == a ? b : a;

x can have only values a or b, we want to assign x a value otherthan the current one.

x ^= a ^ b

Labels:


About this entry