How will you swap two variables without using a third variable??
Interview Answers
Anonymous
May 13, 2021
HR questions please tell . And ctc ordered
Anonymous
Apr 8, 2021
I said I know two ways to swap variables without using third. first, by bit manipulation, we can swap any type of variable, and second, if the variables are of integer type then we have to do some math. He said the Integer type will be fine, So I answered accordingly.