how to swap two numbers with out using temp variable
Answer Posted / sachin patil
a = 5;
b = 10;
a = a+b;
b = a-b;
a = a-b;
| Is This Answer Correct ? | 55 Yes | 5 No |
Post New Answer View All Answers
What is implicit pointer in c++?
Why #include is used?
When should overload new operator on a global basis or a class basis?
What is binary object model?
What is flush programming?
How many types of modularization are there in c++?
What is low level language in simple words?
You run a shell on unix system. How would you tell which shell are you running?
What are proxy objects in c++?
Which is better c++ or java?
What is data structure in c++?
What is meant by entry controlled loop?
How can I disable the "echo" feature?
Are c and c++ similar?
How do you declare a set in c++?