0
1
2
4
5
6
12
9
13
16
17
21
Test Cases
Test Results
Input
5 10
Expected Output
After swapPtr: a=10 b=5 After swapRef: a=10 b=5