employer cover photo
employer logo

NetSuite interview question

Given two variables with integer values, write a code which swaps values of these variables without using third variable.

Interview Answer

Anonymous

13 Aug 2015

a = a + b; b = a - b; a = a - b;