Infosys interview question

Write a program to swap two numbers.

Interview Answer

Anonymous

28 Aug 2023

I just wrote a program to swap two numbers. I used third variable and coded the problem in java.