Answers

Question and Answer:

  Home  Java Software Engineer

⟩ Tell us how can you swap the values of two numeric variables without using any other variables?

You can swap two values a and b without using any other variables as follows:

a = a + b;

b = a - b;

a = a - b;

 155 views

More Questions for you: