Swap two Numbers using Bitwise Operator 

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.

Solution:

Leave a Reply

Your email address will not be published. Required fields are marked *