Write a program to swap two numbers using third variables
Output :
Enter value of a: 10 Enter value of b: 20 After swap a: 20 b: 10
Write a program to swap two numbers without using third variables
Output :
Enter value of a: 10 Enter value of b: 20 After swap a: 20 b: 10