Question: #include using namespace std; void swap ( int num 1 , int num 2 ) { int tmp; tmp = num 1 ; num 1
#include
using namespace std;
void swapint num int num
int tmp;
tmp num;
num num;
num tmp;
int main
int n;
int n;
cout n n endl;
swapn n;
cout n n endl;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
