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
What are c++ manipulators?
Who made c++?
Do you know what are static and dynamic type checking?
What is the header file for setw?
Explain the uses of static class data?
Is c++ still in demand?
What is bubble sort c++?
Explain stack unwinding.
Explain storage qualifiers in c++.
Why we use #include conio h in c++?
Define the process of error-handling in case of constructor failure?
Is dev c++ free?
Is c++ the hardest language?
Differences between private, protected and public and give examples.
Is the declaration of a class its interface or its implementation?