Swapping:
a = a ^ b
b = a^b
a = b^a
Left Shift: x<< k = x* 2^k
Right shift = x >> k = x/(2^k)
Left and right shift are mostly used for finding the powers.
Swapping:
a = a ^ b
b = a^b
a = b^a
Left Shift: x<< k = x* 2^k
Right shift = x >> k = x/(2^k)
Left and right shift are mostly used for finding the powers.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)