Swap Two Numbers
Swap means exchange the value of two variable. There is four different method. Using Temporary Variable Without Using Temporary Variable Using Bitwise Operator Using Multiplication And Division Using Temporary Variable #include <iostream> using namespace std; int main() { int a = 31, b = 12,… Read More »Swap Two Numbers