C Program to Swap two numbers using XOR Operator

Generally Swaping two number requires three variables , Let's Take look at Procedure of swaping two Number For Swaping Two numbers following procedure is used - [crayon-60941a32ae14c688374078/] Now we will Explaining above three statements using example .... Let x = 12 and y = 9 [ For our sake and simplicity consider number is of 4 bits ] [crayon-60941a32ae153570559344/] X-OR Table :   A    B   A X-OR B 1 1 0 1 0 1 0 1 1 0 0 0 Step 1 : After : x = x ^ y [crayon-60941a32ae156528942524/] Step 2 : After y = y [...]