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.