Swap Two Variables Without a Third One in C++
Have you ever wondered if it's possible to swap the value of two variables in C++ without using a third one? Turns out, it's possible and it's not even that hard...
First let's say that we have two integers stored in two separate variables, like this...
nordic.hashnode.dev2 min read