c flip variable
snippet in c

c flip variable

user9384

foo = foo^1; //XOR - flip var