Hi All,
I am new to programming and want to know how can i write a
code to take input of 2 numbers from user and swap it
without using a temp variable?
Answer Posted / gopi
a=A+b;
b=a-b;
a=a-b;
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
what are the different types of qualifier in java?
How do you achieve runtime polymorphism?
How do you achieve polymorphism?
Whats oop mean?
What is abstraction example?
Why we use classes in oop?
What is abstraction encapsulation?
What is persistence in oop?
What is variable example?
Is html an oop?
What is difference between oop and pop?
What is interface? When and where is it used?
when to use 'mutable' keyword and when to use 'const cast' in c++
What are different oops concepts?
What is difference between multiple inheritance and multilevel inheritance?