Class swap contains tow data members num1 num2 and member


Program: write program in C++ : -

Class Swap contains tow data members num1 , num2 and member function swapping ,the aim of this function is swapping num1 and num2 values , swapping should done by using pointer , i.e. if num1= 20 and num2 =5 they become : num1= 5 and num2=20.

You need to prepare a C++ program of class swap.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Class swap contains tow data members num1 num2 and member
Reference No:- TGS0952721

Expected delivery within 24 Hours