I recently went to an interview and I was asked to write some code to swap the values of two variables without using third variable or any API.
I could not work out how to do this, can you help me on this?
For example I have two variable a=10
and b=20
the output should be b=10
and a=20
.