> /*Write a program to swap the private data of two classes using friend function. Programmed by: KiranShrestha Roll No.: 10121 Programmed on: 31st July, 2011*/ #include <iostream.h> #include <conio.h> class b; class a { int x; public: void assign(int t) { x =t; } void display() { cout<<“value of x is: “<<x<<endl; } friend […]