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
What is abstraction in oops?
What type of loop is a for loop?
Why interface is used?
Is html an oop?
what is the sylabus for priliminaries?
Can static class have constructor?
#include
2. Give the different notations for the class.\
Which language is not a true object oriented programming language?
What is debug class?what is trace class? What differences are between them? With examples.
Can we create object of interface?
What is overriding in oop?
What is an interface in oop?
What is basic concept of oop?
What is the advantage of oop over procedural language?