Write a C program to swap two numbers using pointers and functions. How to swap two numbers using call by reference method. Logic to swap two number using pointers in C program.
Example
Input
Input num1: 10 Input num2: 20
Output
Values after swapping: Num1 = 20 Num2 = 10