Implement a program to swap two integers using pointers.
HardProblem Statement
Implement a program to swap two integers using pointers.
Sample Input
a = 5, b = 10
Sample Output
After swapping: a = 10, b = 5
Limits
Time: 2s · Memory: 256 MB
Implement a program to swap two integers using pointers.
a = 5, b = 10
After swapping: a = 10, b = 5
Time: 2s · Memory: 256 MB