c toggle variable
snippet in c

c toggle variable

user9799

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