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 is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
What is multilevel inheritance?
What is abstract class in oops?
What is oops and its features?
What is use of overloading?
What is inheritance and how many types of inheritance?
Why do we use class?
What is abstraction in oop with example?
What is the point of polymorphism?
What are the 5 oop principles?
what is graphics
Why do we use encapsulation in oops?
Get me a number puzzle game-program
What is inheritance write a program to show use of inheritance?
What is object and class in oops?