If you are attending an interview for one or two year experience, 80% of the time you will face this question. “How to swap two numbers without using the third variable”?
I remember the days when I gave an interview as fresher. This was among the commonly asked interview question asked in almost all of the interviews. Though it’s a simple question. Still, people get confused when to plus and minus.
Here we go with the c# program or snippet of code for Swapping two numbers without using the third variable.
Do you think this article was useful? Feel free to provide your comment and concerns. If you need any help regarding any kind of interview questions and answers, any tutorial. let us know in the comment section. We will try our best to help you.