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 polymorphism in oop example?
Is html an oop?
What is difference between inheritance and polymorphism?
Can main method override?
How to hide the base class functionality in Inheritance?
What does <> mean pseudocode?
what is the sylabus for priliminaries?
What is oops concept with example?
Why interface is used?
c++ program to swap the objects of two different classes
program for insertion ,deletion,sorting in double link list
can inline function declare in private part of class?
How many human genes are polymorphic?
What is the main purpose of inheritance law?
What is the real time example of encapsulation?