Swap number without temp

Write a function to swap two numbers without an additional variable

example:

swapNumb(2, 3);
// before swap: a:2 b:3
// after swap: a:3 b:2


Share Comments