job interview test


Replace two variable values without creating a third variable

It is not really a real-life example rather a theoretical one - because who wants to replace two variable values without creating a third variable. Nevertheless, you might face this theoretical question on job interviews and it is definietly an advantage if you can answer it :)