// FILE: main.cpp // Demonstration program for the swap function #include #include #include "swap.h" int main( ) { int i = 5, j = 10; cout << "before swap : i = " << i << ", j = " << j << endl; swap(i, j); cout << "after swap : i = " << i << ", j = " << j << endl; return 0; }