Question: What is the output of the following program? #include using namespace std; void swap(int &x,int &y); int main() { int i, j; i =
What is the output of the following program? #include using namespace std; void swap(int &x,int &y); int main() { int i, j; i = 10; j = 20; swap (i, j); cout
Step by Step Solution
3.34 Rating (148 Votes )
There are 3 Steps involved in it
1 Initialize i with the value 10 and j with the value 20 2 Call ... View full answer
Get step-by-step solutions from verified subject matter experts
