Need a project done?

C++ Programming Developer

Search This Blog

Showing posts with label swap. Show all posts
Showing posts with label swap. Show all posts

Swap without using variable - C++


Swap two values without using a variable in C++ program is given below:

//Program to swap 2 numbers without using a variable in C++.
#include <iostream>
using namespace std;

"Don't let anyone ever make you feel like you don't deserve what you want."