C program to swap two numbers using call by reference

C program to swap two numbers using call by reference

Output:

Enter the two values to swap:
5 6
Before swapping:
a=5 b=6
After swapping:
a=6 b=5

Implementation: