Welcome to MindCipher, a social repository of the world's greatest brain teasers, logic puzzles and mental challenges.

Mehul Thakkar

Ratings 0

No ratings yet!

Comments 1

Swap Variables in Place without XOR

Now, can you think about swapping 3 variables(for ex. input,a=5,b=10,c=15 then output, a=15,b=5 and c=10) applying same rules as in this question