Swapping the value of a and b without using a temporary variable.
Oct 16, 2024 · 3 min read · 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...
Join discussion