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 / x
a=a+b;
b=a-b;
a=a-b;
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Why do we use oop?
What is use of overloading?
What does and I oop mean?
What is the diamond problem in inheritance?
Can abstract class have normal methods?
What is abstraction encapsulation?
Why multiple inheritance is not possible?
Do you know about multiple inheritance?
How many human genes are polymorphic?
How do you use inheritance in unity?
Can enum be null?
How do you achieve runtime polymorphism?
What is the renewal class?
What is the benefit of oop?
What is multilevel inheritance in oop?