123456789101112131415
#include <iostream> using namespace std; int swapName (int first,int second); int main() { int a=5; int b=10; swapNumb(a,b) } void swapNumb (int &first,int &second) { int temp = first; first = second; second = temp; }