Given a two Numbers, swap them using Bitwise Operator
Solution:
Bitwise XOR
A bitwise XOR is a binary operation that takes two-bit patterns of equal length and performs the logical exclusive OR operation on each pair of corresponding bits.
Given a two Numbers, swap them using Bitwise Operator
Bitwise XOR
A bitwise XOR is a binary operation that takes two-bit patterns of equal length and performs the logical exclusive OR operation on each pair of corresponding bits.