2011 Sep 11 04:25 PM UTC | Programming18 [2011]8

What does the operator ^ do? Does the carat mean XOR, or does it mean exponent? One simple debug statement will solve the problem:

What is 0 ^ 1? It will tell you three possibilities: