Swapping the value of a and b without using a temporary variable.
The most obvious way to perform a swap is to use a temporary C variable; however, there are also some unique methods to swap values without using any extra memory. In this article, we will see two different and efficient ways to swap without a tempor...
swapping-value-of-2-variables-a-and-b.hashnode.dev3 min read