how to swap two numbers with out using temp variable
Answer Posted / dd
a=1
b=2
a=a+(b-a)
b=(a+b)-b
| Is This Answer Correct ? | 12 Yes | 16 No |
Post New Answer View All Answers
Do we have to use initialization list in spite of the assignment in constructors?
What is input operator in c++?
Can you please explain the difference between overloading and overriding?
What is the basic structure of c++ program?
What is object in c++ example?
What is the main use of c++?
Explain dangling pointer.
Do you know what is overriding?
Do class method definitions?
Describe exception handling concept with an example?
How should a contructor handle a failure?
What is long in c++?
Is c++ low level?
What is the use of c++ programming language in real life?
What is iterator in c++?