DEV Community

Discussion on: How can you swap two variables without using a third?

Collapse
 
sadarshannaiynar profile image
Adarsh

Yes. Whenever you can achieve something using bitwise operations I always prefer that.