XOR (^) usage in C programs..
Posted on 1999-01-11
I hv a sample line:
result = result ^ var2[I];
The above is just a sample.. While I know what XOR means,
I do NOT understand its usage and its application..
my questions are:
1. wat does the above line is used for?
2. wat should we use ^ for??? when??
Code examples would be great in illustrating its uses and functions... thanks!!